954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Unable to connect to the remote server

Hello,

I have a web application that connects to a webservice. Usually I can step through the webservice and my start page loads up just fine. But starting yesterday this was not the case. Now I am getting the message "Unable to connect to the remote server." As an inner exception I get "No connection could be made because the target machine actively refused it 127.0.0.1:3236”. If I change the webservice to the one we have on our development server then it runs just fine, but I cant run it locally on my machine without getting this error.

Any ideas? I have run out of things to try!

Thanks!

MarieRaye
Newbie Poster
2 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

Do you have windows firewall turned on?

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

Hello,

No, my Windows Firewall is not turned on. Any other things I should check???

Thanks!

MarieRaye
Newbie Poster
2 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

You are hitting a local port, most likely assigned by visual studio.

Are you sure you have the webservice launched on that port? If you are running a client app, hitting that url, i don't think you have the webservice deployed or running.

dickersonka
Veteran Poster
1,175 posts since Aug 2008
Reputation Points: 130
Solved Threads: 143
 

Do you have remote debugging turned on over on the web service server? Also, you need to attach the remote debugger in visual studio before stepping into the web service. This is only in the event that the web service is on a different server than your development machine...

asnider
Newbie Poster
23 posts since Jul 2008
Reputation Points: 12
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You