work with HttpWebRequest locally

  • Thread starter Thread starter John A Grandy
  • Start date Start date
J

John A Grandy

what configs do i need to perform testing of code involving HttpWebRequest
objects when i have only my local machine available (no internet connection)
? i use the loopback ip address = 127.0.0.1 as the URL ... but what else
do i need to do ?
 
John said:
what configs do i need to perform testing of code involving
HttpWebRequest objects when i have only my local machine available
(no internet connection) ? i use the loopback ip address =
127.0.0.1 as the URL ... but what else do i need to do ?

Assuming TCP/IP and the loopback device are installed (which is pretty much
standard on any newer Windows installation) and your hosts file hasn't been
edited (i.e. includes the line "127.0.0.1 localhost"), it should work.

Cheers,
 

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

Back
Top