Telnet working for Localhost, but not host ip
Posted on 2010-11-22
I am trying to understand why a SMTP service on my box for port 940 can be accessed via localhost by not my box's IP. I've checked my firewall, etc.
Please understand my question is regarding network configuration, not email services.
My question is, what could be blocking this access ?
[$ telnet localhost 940
Connected to localhost.
Escape character is '^]'.
220 server1.XXXXXXXXXXt ESMTP Postfix
221 2.0.0 Bye
Connection closed by foreign host.
eth0 Link encap:Ethernet HWaddr 00:26:18:4A:CB:DA
inet addr:192.168.1.57 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::226:18ff:fe4a:cbda/64 Scope:Link
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
telnet 192.168.1.57 940
telnet: connect to address 192.168.1.57: Connection refused