Sakthivel
Sakthivel

Reputation: 1941

Local host VS ip address in ASP.net

i run one aspx webpage , in url it have some thing like http://localhost:1481/Tutorial/MainPage.aspx . But when i change the localhost in to my IP Address the page can't display . Please guide me to get this .Thanks in advance..

Upvotes: 0

Views: 937

Answers (3)

OldBuildingAndLoan
OldBuildingAndLoan

Reputation: 3022

Are you also including the port number in the URL when you use your IP address?

Upvotes: 0

Mark
Mark

Reputation: 6081

The Visual Studio built-in Web Werver only listens on the loop back address 127.0.0.1 which translates to LOCALHOST in your PC's host file

you can add entries into your host file to allow different names to resolve to loop back but not change the loop back address

Upvotes: 1

spender
spender

Reputation: 120380

Are you using the VS testing server? I believe it only listens on the loopback.

Upvotes: 0

Related Questions