LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connection refused error (https://www.linuxquestions.org/questions/linux-networking-3/connection-refused-error-205269/)

sweetyedwin 07-15-2004 03:05 AM

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.

ppuru 07-15-2004 03:11 AM

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.


All times are GMT -5. The time now is 07:16 AM.