#1
  1. Proud Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Posts
    104
    Rep Power
    13

    Unhappy Could not open connection to host.... - plz help me..!!


    Hello friends,

    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?
  2. #2
  3. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,322
    Rep Power
    33
    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
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    2
    Rep Power
    0

    use telnet


    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
  6. #4
  7. Second highest poster :p
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2001
    Posts
    7,322
    Rep Power
    33
    or you can type netstat -an | grep 110 and that will show what IP addresses it is bound to.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    2
    Rep Power
    0
    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.

    Cj
  10. #6
  11. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
    0.0.0.0 means all IP's. Are you behind a firewall or are you using a router?
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    2
    Rep Power
    0
    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.

    Cj

IMN logo majestic logo threadwatch logo seochat tools logo