Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I Could need some help here...

I'm running a java socket server on a 64bit Linux VPS and listening on a port 5555 however my clients aren't able to connect to that port.
When I run a netstat -anp on the server it gives me local address of ::ffff: foreign address of :::* and the state is LISTEN.

Is the ::ffff:in the local address part causing the problem?

share|improve this question
up vote 1 down vote accepted

That address is your localhost interface, not an external interface. I assume your clients are connecting from "outside" the server, correct? If so, you'll need to set your java app to listen on whatever IP address is assigned to an outward-facing interface.

share|improve this answer
Oh! so if the IP address is for instance I should setup java for rather than right? – Kevin Boyd Feb 5 '10 at 1:04
Yes, that should work. You should also verify that there are no iptables rules that may be blocking traffic to that IP/port. – EEAA Feb 5 '10 at 1:15
Well I am a noob on linux but I will check on how to do that! – Kevin Boyd Feb 5 '10 at 1:17
Well your suggestion worked for me! thanks a lot!! Luckily I didn't have to do up the iptables. – Kevin Boyd Feb 5 '10 at 1:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.