I check python -m SimpleHTTPServer 9000 and returned "Serving HTTP on 0.0.0.0 port 9000 ..."
My /etc/hosts as below
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Pub-IP-server1 Pub-DNS-server1 Private-DNS-server1 Private-IP-server1 alias-server1
Pub-IP-server2 Pub-DNS-server2 Private-DNS-server2 Private-IP-server2 alias-server2
My issue got resolved when I commented out any changes I made in .etc/hosts file and used the one that was out-of-the-box with no changes... give it a shot and let me know
hi, i havesome prob like this,
can you please show me file /etc/hosts , and /etc/sysconfig/network.
think you for your help.
I'm able to resolve this issue.
In my case IP address is incorrect in /etc/hosts file. Once corrected able to add host successfully.