Mega Code Archive

 
Categories / Delphi / ADO Database
 

Error windows socket error [10060], on api connect

Question: I have a 3 tier app. using the TMidasConnection. I can connect to the server app when I use a client machine within the local net. I can also connect to it if I dial in directly into the local net. But, if I try to connect via the Internet (through an ISP) I get the error "Windows Socket Error: (10060), on API 'connect'". While connected to the ISP, I can ping my server machine, but the component does not see it. Answer: You are probably running into the firewall. If the server is not outside the firewall sometimes you can use a Port # > 1024 to access it, but you should check with your IS department.