Linode Forum Index Linode Forum
Linode Community Forums
 


Ports Blocked Locally

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
mcal



Joined: 22 Dec 2010
Posts: 3
Location: US

Posted: Wed Dec 22, 2010 8:54 pm    Post subject: Ports Blocked Locally  

This afternoon I rebooted my linode and now I'm in a whole lot of pain trying to get things set back up that I didn't have set to autostart. The one particular thing I am stumped on though is a problem where I can't telnet to a local port. Connecting to the same port remotely works fine though.

I first noticed it when trying to connect to an unusual port but then also noticed its happening on every port, including 80.

On the local linode, a failed telnet. This is on the the public IP but it fails on a 127.0.0.1 as well:
Quote: $ telnet 69.164.xxx.xxx 80
Trying 69.164.xxx.xxx...
telnet: Unable to connect to remote host: Connection timed out


From remote:
Quote: $ telnet 69.164.xxx.xxx 80
Trying 69.164.xxx.xxx...
Connected to 69.164.xxx.xxx.
Escape character is '^]'.
Connection closed by foreign host.

IPTables is empty.
Quote: $ sudo iptables -L -nv
Chain INPUT (policy ACCEPT 45634 packets, 5195K bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 37565 packets, 64M bytes)
pkts bytes target prot opt in out source destination

Does anyone have any ideas of places I can look into that would be causing this?
Back to top  
mcal



Joined: 22 Dec 2010
Posts: 3
Location: US

Posted: Wed Dec 22, 2010 9:46 pm    Post subject:  

All resolved.

A big thanks to ohkus and bob2 from IRC for stepping me in the right path.
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 565

Posted: Wed Dec 22, 2010 10:37 pm    Post subject:  

And the problem was...?
Back to top  
mcal



Joined: 22 Dec 2010
Posts: 3
Location: US

Posted: Wed Dec 22, 2010 11:34 pm    Post subject:  

Ran into iptables configuration problems when starting up preventing lo from being started. Silly me.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1