LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-15-2013, 10:47 AM   #1
jackiebaron
LQ Newbie
 
Registered: Aug 2011
Posts: 28

Rep: Reputation: Disabled
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
 
Old 02-15-2013, 11:11 AM   #2
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 50
What is the error?
Port 22 : connection refused
 
Old 02-15-2013, 11:34 AM   #3
jackiebaron
LQ Newbie
 
Registered: Aug 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
When I try to connect via Putty I get:

"Network error: Software caused connection abort"
 
Old 02-16-2013, 05:15 AM   #4
fortran
Member
 
Registered: Nov 2011
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Fedora
Posts: 300
Blog Entries: 2

Rep: Reputation: 50
* 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.
 
Old 02-16-2013, 06:02 AM   #5
jnihil
Member
 
Registered: Dec 2012
Distribution: Debian, Xubuntu, Gentoo, CentOS, Bhodi
Posts: 47

Rep: Reputation: 2
Have you tried stopping the firewall to isolate the problem?

# service iptables stop

Last edited by jnihil; 02-16-2013 at 06:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] problem with ethernet loopback test using loopback plug/stub: receiving socket not se mcha Linux - Kernel 3 08-26-2010 12:28 PM
SSH tunnel only listening on loopback device. Should also listen on eth0 paranoid times Linux - Networking 3 02-10-2009 03:20 PM
What is loopback? And what is it for regarding networking? okos Linux - Newbie 1 02-02-2008 10:14 PM
loopback ip swodniw Programming 11 01-16-2006 02:27 PM
xinetd and ipop3 listening only on loopback 3brothers Linux - Networking 3 10-13-2003 06:17 PM


All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration