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,
 
Back
Top