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?
directcallAsked:
Who is Participating?
 
billtouchCommented:
Download ethereal (www.ethereal.com) for free and set it up in both computers in question. Run tracing when you do the test then post the results here. That will tell all!

Bill
0
 
kode99Commented:
Check that the port is open on that computer and not in use by something else.

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.
0
 
directcallAuthor Commented:
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).
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
balderCommented:
Have you checked the firewall on that particular computer?
0
 
directcallAuthor Commented:
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?
0
 
balderCommented:
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
0
 
George TokasCommented:
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.
0
 
directcallAuthor Commented:
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.
0
 
billtouchCommented:
Directcall:

Thank you! Can you share with us what you found out? I know I'm curious :)

Bill
0
 
George TokasCommented:
Me too...:-)

gtokas.
0
 
directcallAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.