Systems:
Windows Server 2008 R2
IIS 7.5
VMWare 10
i wanted to access the website hosted from other LAN machines.
Inside the machine there is a VMware 10 running windows server 2008 r2 and iis 7.5.
i set a bridged connection for the VM and using a static ip xxx.xxx.x.198 in windows server
I added a binding to my website (:122).
I added inbound and outbound rules in the firewall settings.
However, i managed to access the webpage from the host machine (windows 8) outside of the VM.
But i can't access the webpage from another machine.
Are you sure you've checked the firewall machines on both the guest and the host?
Related
I have a published asp.net web page runs on local machine IIS server and it is working fine
How do I access the same web running web site over the LAN and Internet
Additional : I have a static IP for the machine and IIS runs on port 8080
Local machine URL for site = localhost/frmHome.aspx
Static IP for the machine = "203.165.24.225" which 80 and 8080 ports are enabled for Http requests
When you are hitting website from your machine then fine it will work with localhost. But when you will hit the same from some other machine over LAN then just replace localhost with your IP. If it is not working then try to ping your IP from that machine to check whether your machine is reachable to that machine over LAN or not.
I have a problem, my network have a domain controller, File server, DHCP & DNS server configured on one machine, i would like to filter the internet content using opendns.
but there is some computer on the network should be excluded from this filltring.
Keys:
1. Computers get IP configuration by DHCP.
2. Computers DNS & Alternat is the local server (Could not be changed).
3. Client Computers are mixed (Windows XP SP3 & Windows 7).
4. Server OS windows server 2008 R2 64 bit.
Any ideas please?
Simply put the OpenDNS servers in the DNS Forwarders tab and configure your DHCP to deliver your Domain Controller IP addres as a DNS Server for your clients.
I run an ASP.NET Development Server (that came with MS Visual Studio 2010) on my Windows 7 machine. I'm currently developing an ASP.NET C# web application and to test it on Windows 7 machine I need to navigate my web browser to an address like this:
http://localhost:59215/Default.aspx
I also have the VMware Workstation 8 installed on that Windows 7 with other OS as virtual machines. I need to try to load my web app from those virtual machines, but when I type the above address there I get "Cannot display page" error in a browser. Note that I can access internet from a virtual machine itself, but for some reason localhost on the main machine is not accessible.
Any ideas how to set this up?
OK, I got it!
For those who're interested, here's how:
Say, my developement URL on the host computer is:
http://localhost:59215/Default.aspx
Download this util, called tcpTrace and run it on a host machine. When it starts configure it as follows:
Listen to port #: 80
Destination Server: localhost
Destination Port #: 59215 (which will be different in your case)
Click OK and let tcpTrace run on the host computer.
On the virtual machine navigate the browser to the IP address of the host computer, for instance in my case:
http://192.168.0.4/Default.aspx
and it will work!
PS. To get an IP address on the host machine, run ipconfig there (in a command prompt window). Your IP will be presented in the "IPv4 Address" line for network you're connected on.
PS2. Also my Windows 7 (host) doesn't come with any third-party anti-virus or firewall. It has a built-in Windows firewall and MS Security Essentials as an AVP. So if your setup is different one needs to open the incoming port 80.
PS3. Speaking of the VMWare Workstation, the virtual machine's network adapter setting is set on "NAT: Used to share the host's IP address" as it came out-of-box when you install it.
localhost is the local machine (to the OS).
I'm not sure if the VS dev server will allow external connections, you may want to install IIS - either way, you'll have to open up the Windows Firewall to allow external connections.
I'm no VMWare user but each OS will have its own IP address(?) - and that's how you'd connect to the Windows 7/IIS image. http://the.ip.address.of.the.win7.image/
I have a Windows Server 2008 R2 running inside Oracle VirtualBox machine. I have IIS installed and can access the default website from my computer: http://machinename
The problem is that when I add or change a binding to other port than 80 (e.g. 8001), I cannot access the website from my computer (e.g. http://machinename:8001). Port 80 works, other do not.
How do I configure IIS inside of VirtualBox to serve pages to ports other than 80?
I have a Windows 7 machine hosting a Windows 7 virtual machine. I am developing a web application using visual studio 2010 on my host machine. I want to run the application in debug mode and access my localhost server from a browser on the virtual machine. (The purpose of this is to be able to debug an application that uses Windows Authentication using different users without having to log off and on for different users on my host machine...)
I am using a bridged connection for the virtual machine. I googled how to solve this problem and most of the threads that I found said that if I was using a bridged connection, I could access the server on the host machine by just entering the IP address of my host machine into the url in the browser of the virtual machine. I have tried some different urls using the IP but none of them have worked.
As an example, suppose I run my web application in visual studio on my host machine and its url is
http://localhost:62789/MyPage.aspx
Assume also that I ran ipconfig in CommandPrompt on my host machine and found out that the IP address for my host machine is xxx.xxx.xxx.x. What url should I enter on the virtual machine to access my web application?
Thanks in advance.
EDIT:
I set up IIS to host the web project. After that, I just added the following line (xxx.xxx.xxx.xxx is my IP) to my hosts file and I was able to access the website from the virtual machine:
xxx.xxx.xxx.xxx MyWebsite.net
I also had to edit my firewall settings.
I personally found it easiest to setup my virtual machine using the Microsoft Loopback Adapter, and assigning the virtual machine to that adapter. The Guest OS will be assigned it's own IP with DHCP. Using the Loopback Adapter will basically put your host and guest OS on the same network. The guest will only be able to access the host, and will not be able to access the internet.
You could then access the host from the guest using whatever ip address you see on the host(run ipconfig/all on the host).
Edit: FYI I am using Virtual PC so your milage may vary. THe Loopback Adapter is a free download from Microsoft.
Edit2: You will probably need to open ports on the host machine to allow access to the web server also. The guest OS's request will still be going through the Windows firewall
It seems like you might be using VisStudio's integrated Web Server. I'm not sure this can accept requests from any host other than localhost.
Remote machines cannot connect to Visual Studio web server
Simple solution? Use IIS to host the project. Once IIS is installed (if not already) it's easy to change the project settings such that a virtual directory is created and debugging occurs in IIS.