Last post Aug 08, 2012 11:19 AM by fimine
Aug 07, 2012 03:09 PM|rajeshpeddalachugari|LINK
hiii friends can anyone help me in solving dis problem...
when i rum my web application its url is http://localhost:5740/WebSite16/login.aspx
but i want to access it by my ip address like http://10.101.125.9:5740/website16/login.aspx
is it possible...?? please help me asap
Aug 07, 2012 03:13 PM|fimine|LINK
Did you try?
Aug 07, 2012 03:28 PM|MattsDotNetUsername|LINK
Right click on your project in the solution explorer and select properties. From there go to the "web" tab and check "Use Local IIS Web server". You can then set the address instead of using localhost.
Aug 08, 2012 01:12 AM|pradeep sharma|LINK
yes you can access it by using your system ip address inspite of local host but it should be configured with iis
by default it runs with devlopment server not iis
Aug 08, 2012 09:15 AM|rajeshpeddalachugari|LINK
what i need is i should access it from other computer after running it in my system i want to show it to my friend who is far away...
Aug 08, 2012 09:24 AM|MattsDotNetUsername|LINK
That is different. you should Deploy it to your machine then. Below is an example on how to do this.
Aug 08, 2012 11:19 AM|fimine|LINK
How far? I mean, you are on your local network, which is inaccessible directly from outside.
You need to (use these as search phrases) :
1) deploy on local IIS (http://www.codeguru.com/csharp/.net/net_framework/article.php/c19419/Deploying-ASPNET-Applications--Part-1.htm)
2) implement port-forwading on your internet router so your Port 80 (or whatever other port you want your web traffic to go through) is exposed to the outsied (http://portforward.com/routers.htm)
3) get your global IP from your router or by typing "what's my ip" in Google. Send this IP to your friend, who is "far away" :)
You can also implement dynamic dns service.