The underlying connection was closed: Unable to connect to the remote server. (Could not find the an

C

Christina

Hello All,
Sorry for posting this question. I tried a lot to look for an answer to
all the links with the same topic, but couldnt find one.

I am using ASP.NET (VB.NET) .
I have created a client in my local to access methods of a web service
residing in another server. And it gives me the error message:

The underlying connection was closed: Unable to connect to the remote
server.

I read about proxy settings, but has no clue how to do that...
Any links would also be appreciated.

TIA,
Chris
 
C

Christina

Is there anyone who can help me with this.??
I am getting frustrated with this problem.

I added few lines of code in web.config:
<system.net>
<defaultProxy>
<proxy
usesystemdefault = "false"
bypassonlocal="false"
proxyaddress="http://address:port"/>
</defaultProxy>
</system.net>

The error changed to:
"The request failed with HTTP status 404: Not Found. "

Please help!! Is it the security ?

Thanks
Cris
 
C

Christina

I am trying to do an HTTP post to a remote server.. I guess its the
firewall and proxy issue.
Thanks!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top