Simon
Simon

Reputation: 25

"No connection could be made because the target machine actively refused it"

I have one server called 'testapp' and client machine called 'clientapp'.I am trying to install one windowservice called 'SVM' on client machine. If install 'SVM' in 'clientapp' and configure 'testapp' as Server here in this service tab, Then in server 'testapp' i can see client machine as connected and server will start monitoring.

But what actually going is i am not able to install windowservice on client. I am getting error which is mentioned down as trace file:

Upvotes: 0

Views: 6857

Answers (2)

Glenner003
Glenner003

Reputation: 1637

Actively refused it means that the machine was reachable but it replied with a nack. This means that nothing is listening on that port for that IP address.

You have to assure that your server is listening and that he is listening for connections on your localhost.

It could probably help too if you just used 127.0.0.1 as local host. Whatever you put after 127. will connect you with your local host, but 127.0.0.1 is used by convention.

Upvotes: 1

Jon Skeet
Jon Skeet

Reputation: 1503210

127.xx.xx.xx is reserved for loopback to the same machine - in other words, that's not actually trying to talk to the server. It's unclear where that address has come from, but if you find the right address, it may just start to work.

Upvotes: 0

Related Questions