Invalid URI for localhost

We have a website / webservice running on one of our servers. We push this web service once a day with the planned .bat extension.

Most recently, a scheduled task started to fail. The log shows "Invalid URI: The hostname could not be parsed."

When we go to the server, we can connect to the website via http: // localhost / website , but get an error URI with an error when we hit the webservice http: //localhost/website/ws.asmx .

Any ideas?

Edit

We will try using the server name, ipaddress and port numbers (and combinations in it). Any other ideas?

0


source to share


3 answers


For a private IP address use your Wikipedia reference http://en.wikipedia.org/wiki/IP_address for what limits and correct purposes.



If you have access to the source code of the web service, find the fixed IP that is used along with the correct server bindings to consume the service.

+1


source


Try using the device's IP address instead of your local one.



Basically, I'm taking a wild blow that someone started a block or that a service patch was installed that filters the request somehow, pushes to localhost (127.0.0.1).

0


source


Try using machine name instead of localhost

0


source







All Articles