LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-15-2004, 03:05 AM   #1
sweetyedwin
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Connection refused error


I have a server application written in java when I run the server in Linux and the client on Windows I am not able to connect to the server I get a Connection refused exception. The server aplication uses the port 5050. After running the server application i even used netstat command to find if the server is listening on the specified port and it was Listening.. But the client would not connect . But when I run the server application in Windows and the client in Linux am able to connect to the server application. Pls Help

Thanks,
Sweety.
 
Old 07-15-2004, 03:11 AM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
any firewalls blocking traffic to port 5050?
Code:
iptables -nvL
should help you ascertain that.

You can also run
Code:
tcpdump port 5050
to check what exactly is happening.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache -> connection refused error dimlight Linux - Networking 6 08-11-2010 01:56 PM
RNDC connection refused error cas1106 Linux - Newbie 1 04-23-2006 12:40 PM
pop3 connection refused error aw_wolfe Linux - Newbie 2 04-26-2005 05:12 PM
Connection refused error for port 25 jgnasser Linux - Networking 3 08-25-2004 07:09 AM
Connection refused error robs4linux Linux - Networking 2 03-19-2002 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration