I've got a simple webservice I'm consuming in development that corresponds to a server on site. One of the first things you must do to use this webservice is to provide an admin ticket which you must contact a 3rd party's service to receive once proper credentials are in order. Long story short, to get this admin ticket you have to provide the site you're trying to use the ticket on which it will verify among other things. I'm getting a semi-generic error from .Net as follows:
Code: Select all
System.Net.Sockets.SocketException: The requested address is not valid in its context 192.168.0.255:80
Googling provided little relief. Am I crazy for thinking that the IP address seems strange for a locally hosted website? So basically I have a website we'll call http://sub.website.com that is currently bound to that address. Is the IP legit? If it helps, I'm running this on server 2008 w/ IIS 7.0. I have this same exact code working elsewhere with a different website as a parameter without issue, so I can only help but think the IP is screwed some how in DNS perhaps. Any help?