LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Only listening on loopback...i think (https://www.linuxquestions.org/questions/linux-networking-3/only-listening-on-loopback-i-think-4175450297/)

jackiebaron 02-15-2013 09:47 AM

Only listening on loopback...i think
 
I'm not an networking expert but this is a strange one. I have two CentOS VM's . They can ping each other and ssh to each other. But I can't connect to them from another machine or the host windows machine of the VM's. I can ping them but can't putty to them.

Also these two VM's can't bring up an outside website (but CAN ping it).

I isolated this in netstat:

tcp 0 0 :::22 :::* LISTEN
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN

Any thoughts?

Thanks

fortran 02-15-2013 10:11 AM

What is the error?
Port 22 : connection refused

jackiebaron 02-15-2013 10:34 AM

When I try to connect via Putty I get:

"Network error: Software caused connection abort"

fortran 02-16-2013 04:15 AM

* Start Putty
* Load your connection settings if you have them saved
* Click on “Connection”
* On the section that says "Sending of null packets to keep session active", Changed it to 5 seconds. 300 seconds may be better if network outages are your problem.

jnihil 02-16-2013 05:02 AM

Have you tried stopping the firewall to isolate the problem?

# service iptables stop


All times are GMT -5. The time now is 06:58 PM.