Error: 'Windows Socket Error: (10060), on API 'connect?'

Written by Embarcadero USA on Posted in PROGRAMMING

 Question and Answer Database

FAQ374D.txt   Error: 'Windows Socket Error: (10060), on API 'connect?'
Category   :DCOM/MultiTier/ActiveForm
Platform    :All
Product    :Delphi 3.x  

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.

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.

7/16/98 4:31:28 PM

Article originally contributed by

Tags: Delphi

Check out more tips and tricks in this development video: