Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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: http://i.imgur.com/7VHWY.jpg

ifconfig: http://i.imgur.com/he291.jpg

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.