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. access to local site

access to local site

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netquestion
15 Posts 2 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.
  • F fmardani

    Hi, I am developing a asp.net 2.0 on my local machine. How is it possible for me to allow two users to run the website from their machine? Does this mean I have to send them a url pass or something similar? P.S. this is just a temporary solution for something they want to do using the website for now. Thanks

    K Offline
    K Offline
    KrIstOfK
    wrote on last edited by
    #2

    You will see that you normally have a folder with the name of your website on you C:\inetpub\wwwroot\ take that name and paste it in the next url on the place of . Try to remember you computer name (or search it in your control panel) and place it in the next url on the place of Choose some page the user has to visit http:\\\.aspx Now pass this url to those guys and normally it should work just the same way as you were surfing.

    F 1 Reply Last reply
    0
    • K KrIstOfK

      You will see that you normally have a folder with the name of your website on you C:\inetpub\wwwroot\ take that name and paste it in the next url on the place of . Try to remember you computer name (or search it in your control panel) and place it in the next url on the place of Choose some page the user has to visit http:\\\.aspx Now pass this url to those guys and normally it should work just the same way as you were surfing.

      F Offline
      F Offline
      fmardani
      wrote on last edited by
      #3

      There is no folder for the project in C:\inetpub\wwwroot Could it be because i am running 2.0 ? Thanks

      K 1 Reply Last reply
      0
      • F fmardani

        There is no folder for the project in C:\inetpub\wwwroot Could it be because i am running 2.0 ? Thanks

        K Offline
        K Offline
        KrIstOfK
        wrote on last edited by
        #4

        C:\Inetpub\wwwroot is the folder where your IIS runs, if you do not have this folder IIS will be configured to use another folder. To know which folder you can go to Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Click the + open till you have a list of websites running on your computer Search that one that you wish to access from other computers and the name that's mentionned over there is the name you should use then.

        F 1 Reply Last reply
        0
        • K KrIstOfK

          C:\Inetpub\wwwroot is the folder where your IIS runs, if you do not have this folder IIS will be configured to use another folder. To know which folder you can go to Start -> Control Panel -> Administrative Tools -> Internet Information Services (IIS) Click the + open till you have a list of websites running on your computer Search that one that you wish to access from other computers and the name that's mentionned over there is the name you should use then.

          F Offline
          F Offline
          fmardani
          wrote on last edited by
          #5

          Hi, Followed your guide but it does not appear in that list either. Any ideas please? Thanks

          K 1 Reply Last reply
          0
          • F fmardani

            Hi, Followed your guide but it does not appear in that list either. Any ideas please? Thanks

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

            What is the address you test with?? Should be something as http://localhost/mywebsite/ or http://127.0.0.1/mywebsite/ then take that "mywebsite" part and paste it into http://yourpcname/mywebsite/

            F 1 Reply Last reply
            0
            • K KrIstOfK

              What is the address you test with?? Should be something as http://localhost/mywebsite/ or http://127.0.0.1/mywebsite/ then take that "mywebsite" part and paste it into http://yourpcname/mywebsite/

              F Offline
              F Offline
              fmardani
              wrote on last edited by
              #7

              In the development environment I just press the run button i.e the green play button. Thanks

              K 1 Reply Last reply
              0
              • F fmardani

                In the development environment I just press the run button i.e the green play button. Thanks

                K Offline
                K Offline
                KrIstOfK
                wrote on last edited by
                #8

                Okay, but then it opens in web browser i hope (otherwise it can't be an asp.net website) so in a web browser you have an address bar somewhere ... in that addressbar should be the url, the url is that that you need in my previous post.

                F 1 Reply Last reply
                0
                • K KrIstOfK

                  Okay, but then it opens in web browser i hope (otherwise it can't be an asp.net website) so in a web browser you have an address bar somewhere ... in that addressbar should be the url, the url is that that you need in my previous post.

                  F Offline
                  F Offline
                  fmardani
                  wrote on last edited by
                  #9

                  This is in the url when it opens up for the first time http://localhost:1281/mysite/

                  K 1 Reply Last reply
                  0
                  • F fmardani

                    This is in the url when it opens up for the first time http://localhost:1281/mysite/

                    K Offline
                    K Offline
                    KrIstOfK
                    wrote on last edited by
                    #10

                    Then you type in the browser of those other persons http://:1281/mysite/ with your pc name, the name of your pc as it is known on the local network, what you also can use is your ip-address (start->run->cmd->ipconfig) and read the number like 192.168.2.25 for example the you can use http://192.168.2.25:1281/mysite/

                    F 1 Reply Last reply
                    0
                    • K KrIstOfK

                      Then you type in the browser of those other persons http://:1281/mysite/ with your pc name, the name of your pc as it is known on the local network, what you also can use is your ip-address (start->run->cmd->ipconfig) and read the number like 192.168.2.25 for example the you can use http://192.168.2.25:1281/mysite/

                      F Offline
                      F Offline
                      fmardani
                      wrote on last edited by
                      #11

                      So just to clarify, do they just type this in their browser ? http://192.168.2.25:1281/mysite/ Thanks

                      K 1 Reply Last reply
                      0
                      • F fmardani

                        So just to clarify, do they just type this in their browser ? http://192.168.2.25:1281/mysite/ Thanks

                        K Offline
                        K Offline
                        KrIstOfK
                        wrote on last edited by
                        #12

                        NOOO in stead of 192.168.2.25 you have to use YOUR IP ADDRESS (which i don't know so I can't tell you, you have to look it up!) Go to START, press "RUN", type in "CMD" press "OK" typ in "IPCONFIG" press "ENTER" you get some letters on your screen one will say IP Address. . . . . . . . . . . : 192.168.2.25 (but it will be your ip address, not likely this one) you take THAT IP ADDRESS (which is YOURS) and make with THAT number the combination http://YOUR IP ADDRESS/mysite/ and give that to those people.

                        F 1 Reply Last reply
                        0
                        • K KrIstOfK

                          NOOO in stead of 192.168.2.25 you have to use YOUR IP ADDRESS (which i don't know so I can't tell you, you have to look it up!) Go to START, press "RUN", type in "CMD" press "OK" typ in "IPCONFIG" press "ENTER" you get some letters on your screen one will say IP Address. . . . . . . . . . . : 192.168.2.25 (but it will be your ip address, not likely this one) you take THAT IP ADDRESS (which is YOURS) and make with THAT number the combination http://YOUR IP ADDRESS/mysite/ and give that to those people.

                          F Offline
                          F Offline
                          fmardani
                          wrote on last edited by
                          #13

                          Yes I understand that. I am using my ip address but the page can not be fouond. Thanks

                          K 1 Reply Last reply
                          0
                          • F fmardani

                            Yes I understand that. I am using my ip address but the page can not be fouond. Thanks

                            K Offline
                            K Offline
                            KrIstOfK
                            wrote on last edited by
                            #14

                            okay add to that address the page they have to access for example when they have to go to "login.aspx" define that: htp://192.168.2.25:1281/mysite/login.aspx

                            F 1 Reply Last reply
                            0
                            • K KrIstOfK

                              okay add to that address the page they have to access for example when they have to go to "login.aspx" define that: htp://192.168.2.25:1281/mysite/login.aspx

                              F Offline
                              F Offline
                              fmardani
                              wrote on last edited by
                              #15

                              I have used my ip address as below. Neither addresses are successful hcp://ipaddress/mysite/default.aspx hcp://ipaddress:1281/mysite/default.aspx

                              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