Topic:   How to acces asp.net web application from another system on my private network
Oct 14, 2020 10:09 1 Replies 10 Views SAI

I'm pretty new to asp.net.i am writing asp.net web application that i want to test from another computer located on my private network. how can i achieve this.operating system that i am using is windows 7 and the visual studio version that i am using to create my web application is visual studio 2010.

Prev Next
Topic Replies (1)
  1. 1
    idnkx user

    PARTH

    1 )You must have a web server (Windows comes with one called IIS, but it may not be installed)

    Make sure you actually have IIS installed! Try typing http://localhost/ in your browser and see what happens. If nothing happens it means that you may not have IIS installed. See Installing IIS
    Set up IIS How to set up your first IIS Web site
    You may even need to Install the .NET Framework (or your server will only serve static html pages, and not asp.net pages)

    2) Installing your application

    Once you have done that, you can more or less just copy your application to c:\wwwroot\inetpub\. Read Installing ASP.NET Applications (IIS 6.0) for more information

    3) Accessing the web site from another machine

    In theory, once you have a web server running, and the application installed, you only need the IP address of your web server to access the application.

    To find your IP address try: Start -> Run -> type cmd (hit ENTER) -> type ipconfig (hit ENTER)

    Once

    you have the IP address AND
    IIS running AND
    the application is installed
    you can access your website from another machine in your LAN by just typing in the IP Address of you web server and the correct path to your application.

    If you put your application in a directory called NewApp, you will need to type something like http://your_ip_address/NewApp/default.aspx

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

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let's Connect