directcall
asked on
Socket error 10061 Connection refused
I am using the method get from the indy9 component. In some computers in the same network it's working. But in one computer when i am try using the get method i have the following error:
Socket error 10061 Connection refused...
why do the almost computers work and in one computer don't work? If the network is the same and proxy e port are the same too, why in just one computer doesn't work?
Socket error 10061 Connection refused...
why do the almost computers work and in one computer don't work? If the network is the same and proxy e port are the same too, why in just one computer doesn't work?
ASKER
The network is working properly from the sytems. I'am trying do a get method using the http protocol. The port that i'am using is 80. The default port from windows to do this service. But i don't know why in one computer my program isn't working.
My program has worked for one week, after that the windows has launched the 10061 socket error (Connection refused).
My program has worked for one week, after that the windows has launched the 10061 socket error (Connection refused).
Have you checked the firewall on that particular computer?
ASKER
No, but we have a old version that works in this computer. The old version was programed in Visual c++. The new version has programed in c++builder using the library indy 9. I think the problem is in this library.
Would you have some suggestion?
Would you have some suggestion?
Do a static build (no runtime packages) of the application to be sure you don't have problems with different versions of bpl files on your test computers.
Usually a Connection refused implies that you are missing some permission (local or on server).
hth
Usually a Connection refused implies that you are missing some permission (local or on server).
hth
From online help section Windows SDK:
WSAECONNREFUSED
(10061)
Connection refused.
No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host - i.e. one with no server application running.
That means the server is NOT accepting the connection...
gtokas.
WSAECONNREFUSED
(10061)
Connection refused.
No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host - i.e. one with no server application running.
That means the server is NOT accepting the connection...
gtokas.
ASKER
but...how is it possible the server accept the connection from the older version and refused the connection from the new version? Both connect in the same serverproxy and the same proxyport.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Directcall:
Thank you! Can you share with us what you found out? I know I'm curious :)
Bill
Thank you! Can you share with us what you found out? I know I'm curious :)
Bill
Me too...:-)
gtokas.
gtokas.
ASKER
Hi, I used the program and found that a fu..ing back door virus has opened a port to a fu..ing user in europe, but now, it was terminated and my network works fine again, thanx, it's a great program.
Maybe switch to a different port on your application see if the result is the same.
I am assuming that the network is working properly from that system.