Results 1 to 4 of 4

Thread: [RESOLVED] [2005] replacing localhost with ip address

  1. #1

    Thread Starter
    Fanatic Member vishalmarya's Avatar
    Join Date
    Feb 2001
    Location
    New Delhi , INDIA
    Posts
    858

    Resolved [RESOLVED] [2005] replacing localhost with ip address

    i have vs.net 2003 and web developer express version on my development machine.

    if i want to run a vs.net 2003 aspx application ( folder mapped in IIS ) from a different machine on our network , providing ip address and the webfolder , it works .

    like

    "http://192.168.1.2/mywebapplication/form1.aspx" ( 192.168.1.2 is where IIS is )

    how do i do it for web developer express applications as it has its own built in web server.

    i have tried

    "http://192.168.1.2:theport/webapp2005/form1.aspx"

    but the page is not displayed

    Any ideas ?
    Vishal Marya, MCP .net 3.5
    My Site
    http://www.vstoolsgallery.com/
    http://visualstudiogallery.msdn.micr...b-f87a909b9266





    Please indicate what version of vb you use.
    Please mark your thread resolved using the Thread Tools above.
    -----------------------------------------

  2. #2
    Hyperactive Member r0k3t's Avatar
    Join Date
    Dec 2005
    Location
    Cleveland
    Posts
    361

    Re: [2005] replacing localhost with ip address

    As far as I know you can't - That web server is only for development and only listens on 127.0.0.1

    You need to set up IIS and then publish the code to that machine.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] replacing localhost with ip address

    Just deploy your web application to a virtual directory on 192.168.1.2. The port number that you get when using VWD has nothing to do with the application, it's just a random port selected during debugging.

  4. #4

    Thread Starter
    Fanatic Member vishalmarya's Avatar
    Join Date
    Feb 2001
    Location
    New Delhi , INDIA
    Posts
    858

    Resolved Re: [2005] replacing localhost with ip address

    Quote Originally Posted by mendhak
    Just deploy your web application to a virtual directory on 192.168.1.2. The port number that you get when using VWD has nothing to do with the application, it's just a random port selected during debugging.
    thanks i did that only.
    Vishal Marya, MCP .net 3.5
    My Site
    http://www.vstoolsgallery.com/
    http://visualstudiogallery.msdn.micr...b-f87a909b9266





    Please indicate what version of vb you use.
    Please mark your thread resolved using the Thread Tools above.
    -----------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width