Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Open my web application from other computer.

Open my web application from other computer.

Scheduled Pinned Locked Moved ASP.NET
question
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chetan Ranpariya
    wrote on last edited by
    #1

    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

    S C K 3 Replies Last reply
    0
    • C 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

      S Offline
      S Offline
      StianSandberg
      wrote on last edited by
      #2

      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

      C 1 Reply Last reply
      0
      • C 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

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        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 )

        C 1 Reply Last reply
        0
        • S StianSandberg

          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

          C Offline
          C Offline
          Chetan Ranpariya
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • C Christian Graus

            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 )

            C Offline
            C Offline
            Chetan Ranpariya
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • C 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

              K Offline
              K Offline
              koolprasad2003
              wrote on last edited by
              #6

              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..

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups