« Previous Next »

Thread: Setting up IIS on multiple servers

Last post 10-14-2008 3:56 PM by tomkmvp. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 10-14-2008, 6:00 AM

    • Jazz8146
    • Not Ranked
    • Joined on 10-14-2008, 9:55 AM
    • Posts 5

    Setting up IIS on multiple servers

    Hello,

     I am new to IIS and have just configured a new server with 2003 Server.

    I have a defualt website running through IIS which works fine.

    I have then setup a virtual machine on the server with Server 2003 again. After installing IIS on the virtual machine I cannot access the website externally. Internal is fine. I have changed the port to 8080 as the other server is running on port 80. Forwarded the port 8080 to the correct IP address. I cannot see where the problem is now?

    Is what I am doing correct or am I going the wrong way about it?

    Thanks in advance

    Jason

  • 10-14-2008, 6:56 AM In reply to

    Re: Setting up IIS on multiple servers

    Jazz8146:
    After installing IIS on the virtual machine I cannot access the website externally.

    Do you mean from off the physical server or from outside the VM?  Did you turn off the firewall?  If outside the VM, is networking enabled?

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-14-2008, 7:06 AM In reply to

    • Jazz8146
    • Not Ranked
    • Joined on 10-14-2008, 9:55 AM
    • Posts 5

    Re: Setting up IIS on multiple servers

    I am trying to access my website on the VM from outside the network using our ip address.

    This works fine from the server using port 80 but not the VM machine on port 8080.

    Firewall is off completely.

    The VM machine has it's own ip address and can access the internet, Is this what you mean by networking enabled?

    I can access the VM machine with my laptop running xp by entering

    http://192.168.0.19:8080/  (i have done the port forward for this ip address too)

    This also works

    http://myip:80/

    but this doesn't http://myip:8080

    Jason

  • 10-14-2008, 7:17 AM In reply to

    Re: Setting up IIS on multiple servers

    This sounds exactly like a firewall or routing issue.  Have you tried Telnet to see if ports respond?

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 10-14-2008, 8:12 AM In reply to

    • Jazz8146
    • Not Ranked
    • Joined on 10-14-2008, 9:55 AM
    • Posts 5

    Re: Setting up IIS on multiple servers

    What does telnet do?

    I have opened cmd on my local machine and tried

    telenet 192.168.0.19

    and get could not connect to port 23 so i tried

    telnet 192.168.0.19 8080 and it just hangs and says connection lost? 

    It can't be a firewall as the firewall is turned off.

    On both setups the firewalls are off.

    Both ports are forwarded to the correct machine (80 to one and 8080 to the other)

    I can't understand how one works and the other doesn't.

    Is it to do with the fact that it is a virtual machine? Or is there a firewall in the VMware i am using (bridged networking).

    Jason

  • 10-14-2008, 8:16 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,174
    • IIS MVPs

    Re: Setting up IIS on multiple servers

    Jazz8146:
    I can access the VM machine with my laptop running xp by entering http://192.168.0.19:8080/ 
    Then everything in IIS is setup correctly.  If you can't get to it through your public IP, then clearly it's a networking issue. Double check your port forwarding configuration on your router.

  • 10-14-2008, 10:11 AM In reply to

    • Jazz8146
    • Not Ranked
    • Joined on 10-14-2008, 9:55 AM
    • Posts 5

    Re: Setting up IIS on multiple servers

    Is there anything else it could be apart from the port forwarding as I am 100% sure that this is correct on my router?

    Jason

  • 10-14-2008, 11:58 AM In reply to

    • Jazz8146
    • Not Ranked
    • Joined on 10-14-2008, 9:55 AM
    • Posts 5

    Re: Setting up IIS on multiple servers

    Your answer was correct. I am using a netgear router and had so many ports forwarding on there that i think it was causing a conflict. After doing a factory rebbot (removing all port entries) i entered in my port 8080 and straight away it worked :)

    Strange :S

  • 10-14-2008, 3:56 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Central NJ
    • Posts 6,174
    • IIS MVPs

    Re: Setting up IIS on multiple servers

    Good job!  Everything was pointing at the router as the culprit ...

Page 1 of 1 (9 items)
Microsoft Communities