Open my web application from other computer.
-
Hi Friends, I have developed a web application on my computer and it runs successfully on my localsystem. Now I want to run it on other computer in my office which is coonectced via LAN to my computer. To achieve this I have done some modifications to that computer's hosts file which is located at C:\WINDOWS\system32\drivers\etc. I have append following. 216.25.0.33 http://216.25.0.33/MyApplication Here 216.25.0.33 is the IPAddress of my computer. But this thing doesnt work means I am not able to visit my application from there. Can you please tell me where exactly i am making mistake or the approach I have takes is wrong? Thanks a lot in advance.
Thanks and Regards, Chetan Ranpariya
-
Hi Friends, I have developed a web application on my computer and it runs successfully on my localsystem. Now I want to run it on other computer in my office which is coonectced via LAN to my computer. To achieve this I have done some modifications to that computer's hosts file which is located at C:\WINDOWS\system32\drivers\etc. I have append following. 216.25.0.33 http://216.25.0.33/MyApplication Here 216.25.0.33 is the IPAddress of my computer. But this thing doesnt work means I am not able to visit my application from there. Can you please tell me where exactly i am making mistake or the approach I have takes is wrong? Thanks a lot in advance.
Thanks and Regards, Chetan Ranpariya
your hostfile is like a dns-server. That means it can store names so you don't have to remember IP-addresses. An example: 216.25.0.33 myserver This will not work: 216.25.0.33 http://216.25.0.33/MyApplication (the hostfile is not a web-forwarder) If i write "myserver" in the addressbar it would be the same as i write the IP-address. So the address for your application would then be "http://myserver/MyApplication/"
--------------- serverside.no
-
Hi Friends, I have developed a web application on my computer and it runs successfully on my localsystem. Now I want to run it on other computer in my office which is coonectced via LAN to my computer. To achieve this I have done some modifications to that computer's hosts file which is located at C:\WINDOWS\system32\drivers\etc. I have append following. 216.25.0.33 http://216.25.0.33/MyApplication Here 216.25.0.33 is the IPAddress of my computer. But this thing doesnt work means I am not able to visit my application from there. Can you please tell me where exactly i am making mistake or the approach I have takes is wrong? Thanks a lot in advance.
Thanks and Regards, Chetan Ranpariya
How does it run on your PC, using IIS or the web server built in to VS2005 ? If the former, people should be able to see it by typing your PC's name or IP address into their browser. If the latter, it needs to be hosted somewhere.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
your hostfile is like a dns-server. That means it can store names so you don't have to remember IP-addresses. An example: 216.25.0.33 myserver This will not work: 216.25.0.33 http://216.25.0.33/MyApplication (the hostfile is not a web-forwarder) If i write "myserver" in the addressbar it would be the same as i write the IP-address. So the address for your application would then be "http://myserver/MyApplication/"
--------------- serverside.no
Hi, Thank you very much for your reply. I got the point. But can u tell me what should i write in place of "myserver" in 216.25.0.33 myserver? should it be my computer name or something else? Thank you again.
Thanks and Regards, Chetan Ranpariya
-
How does it run on your PC, using IIS or the web server built in to VS2005 ? If the former, people should be able to see it by typing your PC's name or IP address into their browser. If the latter, it needs to be hosted somewhere.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Hi, Thank you very much for your reply. My application runs using IIS and I have tried by writting http://216.25.0.33/MyApplication in other computers addressbar but it didnt work. Is there any settings to do?
Thanks and Regards, Chetan Ranpariya
-
Hi Friends, I have developed a web application on my computer and it runs successfully on my localsystem. Now I want to run it on other computer in my office which is coonectced via LAN to my computer. To achieve this I have done some modifications to that computer's hosts file which is located at C:\WINDOWS\system32\drivers\etc. I have append following. 216.25.0.33 http://216.25.0.33/MyApplication Here 216.25.0.33 is the IPAddress of my computer. But this thing doesnt work means I am not able to visit my application from there. Can you please tell me where exactly i am making mistake or the approach I have takes is wrong? Thanks a lot in advance.
Thanks and Regards, Chetan Ranpariya
HELLO CHETAN YAR, U have done a mistake... to run your website properly do the following things - create one virtual diretory on IIS. - Copy your all project files to that virtual directory - now on other computer write following address to the addressbar of the IEBrowser - http://IP Name of Computer where Virtual dir store/Virtual dir name/Page name eg. http://192.158.1.54/DemoVirtualDir/Default.aspx Hope it helps.... best regards, koolprasad2003:rose:
Be A Good S/W Eng... Life is swing with you..Enjoy..