Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Developer,
When i open my asp.net application with local host URL then its directlly open.
http://localhost:1339/Test/Request.aspx[^]

but when i same application open with my Ip address,then it cannot open.
http://10.10.63.87:1339/Test/Request.aspx[^]

Any body tell me , hows open the asp.net application with IP address instance of localhost. Or run the application with IP address.

Thanks in Advanced........

Regards,
Ravi
Posted
Comments
walterhevedeich 3-Jun-11 4:31am    
Are you running this from Visual Studio or from IIS?

You will need to configure you IIS (assuming this is the web server your are/will using) allowing access from WLAN/LAN to specific users (or anonymous). Allow IIS trought your firewall if you have one.

Your application won't need to be changed, that's just networking problems ans configuration you will have to face to allow acces only trought LAN and WLAN.You can access using IP address. Make sure

Turn off your firewall
If you do have a firewall turn it off while you try connecting for the first time, you can sort that out later.
OR

Refer :

http://websitedesign09.wordpress.com/2010/01/12/access-an-asp-net-website-using-ip-address-in-an-lan-network/[^]
 
Share this answer
 
v2
Comments
thatraja 3-Jun-11 6:04am    
Right answer, 5!
This is just a guess, but "localhost" and "10.10.63.87" are not synonyms. "10.10.63.87" is an internet IP address, but not necessarily the IP address of your computer: it is likely to be the IP address of your Router, and is shared between all the PC's on your network. Your PC will probably not have an individual internet IP address, it will have an network-internal IP address, probably assigned by your router. Instead, you need to find an IP address for your domain and use that instead.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900