| Author |  | 
      
        | Guests Guest Group
 
  
 
 Joined: 10 November 2003
 Online Status: Online
 Posts: 262
 | 
          I have set up the pop3 service on windows 2003 server.
           | Posted: 15 September 2005 at 11:19am | IP Logged |   |  
           | 
 |  
 I can connect to it from an external machine and send and receive email.
 
 I can telnet to it from an external machine and login ok.
 
 I cannot do either of these locally however or connect to te pop3 server from an asp page runing on the machine.
 
 When attempting to connect from the asp page running on the machines IIS6 server, the log file contains the error msg 'Socket connect returned code -5'
 
 The webpage (containing your sample code) displays the error 'Error #4'
 
 The server is behind a firewall with ports 25 & 110 open.
 
 I cannot browse the website on the server, using its external ip or url, from the server itself.
 
 I can browse the website on the server, using its internal ip address, from the server itself.
 
 Any ideas?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Looks like firewall is still a problem. Maybe the ports 25 & 110 are still closed for certain IP (such as web server IP itself)?
           | Posted: 19 September 2005 at 3:57pm | IP Logged |   |  
           | 
 |  
 Also, antivirus software could be a problem because it can often act as firewall.
 
 Finally, mail server itself might be configured to block connections from certain IPs.
 
 Regards,
 Alex
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Guests Guest Group
 
  
 
 Joined: 10 November 2003
 Online Status: Online
 Posts: 262
 | 
          Fixed now. The problem was using the TLD mail name for the server rather than the actual machine name.
           | Posted: 26 September 2005 at 4:01am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Many thanks for posting back. That's valuable input.
           | Posted: 26 September 2005 at 8:09am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |