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'm currently setting up the servers and since I gave server HachiSoftware02 it's public IP it won't let me connect to it via SSH.

When it had a local IP it worked fine and I need the server for application builds.

netstat -tulpn:


share|improve this question
Doest it ping ? Is there a firewall ? Is your IP being routed ? What are your server logs indicating ? <== Basic troubleshooting – Lucas Kauffman Jan 25 '12 at 9:48
You need to provide more details. – Khaled Jan 25 '12 at 9:50
result for netstat -tulpn, iptables -L -v- n and ifconfig please :) – Bart De Vos Jan 25 '12 at 9:56
How did you configure the new IP? eth0 has no valid IPv4 address attached to it? Distro? – Bart De Vos Jan 25 '12 at 10:39

You havent configured any public IP on your eth0 do so by editing /etc/network/interfaces

In this format :

auto eth0
iface eth0 inet static
        address A.B.C.D 
        netmask A.B.C.D 
        network A.B.C.D 
        broadcast A.B.C.D 
        gateway A.B.C.D 

And then run /etc/init.d/networking restart

share|improve this answer

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.