• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 19543
  • Last Modified:

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?
0
directcall
Asked:
directcall
  • 4
  • 2
  • 2
  • +2
1 Solution
 
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
 
balderCommented:
Have you checked the firewall on that particular computer?
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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:
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
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now