Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-15-2004, 04:05 AM   #1
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

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

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:56 PM
RNDC connection refused error cas1106 Linux - Newbie 1 04-23-2006 01:40 PM
pop3 connection refused error aw_wolfe Linux - Newbie 2 04-26-2005 06:12 PM
Connection refused error for port 25 jgnasser Linux - Networking 3 08-25-2004 08:09 AM
Connection refused error robs4linux Linux - Networking 2 03-19-2002 03:09 PM

All times are GMT -5. The time now is 01:34 PM.

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