Could not open connection to host.... - plz help me..!!
I am facing a severe pop3 problem with my freebsd box.
When I try to connect to receive emails it says. "Could not open a connection to host on port 110: Connection Failed."
I have secure access to the freebsd box remotely. I've even tried rebooting the server, but still the same problem with POP3
I desperately need someone to guide me on how i can resolve this problem.
Many thanks in advance.
Ps: How can i check to see if the POP3 mail daemon is active and running in the background?
What POP3 program are you trying to run?
A lot of people use POP3 via Inetd, check your /etc/inetd.conf and make sure the pop3 line is uncommented
You can use telnet to make sure the service is running. "telnet <Your IP> pop3" it should respond with a pop3 response. If not check your /etc/inetd
or you can type netstat -an | grep 110 and that will show what IP addresses it is bound to.
January 17th, 2004, 02:44 PM
hi, I'm having a similar problem.. except it's that I can't telnet to to <ip address> port 25. however if I telnet to localhost it works.
I ran the command netstat -an | grep 25 and I got the following:
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
because of that, I can't get my mail server up and running. is there a way to allow telnet to any other ip addresses on port 25 other than 127.0.0.1? something like a wild card * or at least how do I change bind port 25 to a different ip address.
thank you in advance for any help.
January 17th, 2004, 05:00 PM
0.0.0.0 means all IP's. Are you behind a firewall or are you using a router?
January 17th, 2004, 05:36 PM
yes... I am behind a router (dlink) to be exact.
internally i can only telnet to port 25 if i use localhost (loopback address). connection refused if I use real IP address (only to port 25 though). very strange... I'm still looking through configs as I type this. any help is appreciated.