Windows 8 and 8.1 Forums

Browser access to Hyper-V VMs on LAN

  1. #1

    Posts : 1,875
    Windows 10 Pro Prieview x64

    Browser access to Hyper-V VMs on LAN

    I have CentOS running in a VM under Hyper-V on 8.1 Pro. This machine is assigned IP address (I defined it on the router) and I can ping it fine. What I can't do is access web pages from it. I have installed an application Transmission which listens on port 9091. From the VM I can access but from Windows I can not connect. Am I missing some set-up on the windows side? I'm only trying to access from within my network - not from the internet (yet).
    Attached Thumbnails Attached Thumbnails CentOS_7.PNG   IE11.PNG   nmap.PNG   ping.PNG  

      My System SpecsSystem Spec

  2. #2

    Posts : 2,071
    Windows 8.0 x64

    This is the closest content I found:
    Hyper-V virtual machines remote web access
      My System SpecsSystem Spec

  3. #3

    Hafnarfjörður IS
    Posts : 4,374
    Linux Centos 7, W8.1, W7, W2K3 Server W10

    Hi there

    I can't answer specifically because I'm not running HYPER-V. I've found though if you use VMWARE VPLAYER (It IS still free in spite of the confusion on the VMware website these days about a PAID one --that's only for COMMERCIAL organisations releases.. Then set networking to Bridged or NAT --your choice depending on how many IP addresses you want to use.

    Note though if you use VBOX/VMWARE you'll have to uninstall HYPER-V. The VM though you've re-created should import / convert into the format needed by VBOX / VMWARE.

    If you want to continue with HYPER-V Kari seems to be the expert on that one. I've had hideous problems with the Virtual NIC and Wifi with HYPER-V so I've given up on that one for the moment and am running my VM's successfully on VMWARE workstation --I'm typing this on a Windows 8.1 VM running on a Linux Host.

      My System SpecsSystem Spec

  4. #4

    Posts : 1,875
    Windows 10 Pro Prieview x64

    Thanks both. @Miles - I can access the machine OK using the Hyper-V Manager. There is running a service that I can access on http :// localhost:9091 or its IP - what I can't do is connect on this IP and port from the host (Win 8) PC (the VM is also running on this PC). @Jimbo - the networking is working fine both for Wifi and Ethernet on host and on my VMs (Wifi is bridged). I can also connect to VM using ssh and map network drives from linux to by host Win 8 PC - I just can't access using a browser on this 9091 port and don't know how to investigate it. Everything I find on Google says putting the IP and port should just work for all local machines but something is blocking it.
      My System SpecsSystem Spec

  5. #5

    Posts : 2,071
    Windows 8.0 x64
      My System SpecsSystem Spec

  6. #6

    Posts : 1,875
    Windows 10 Pro Prieview x64

    It turns out it was the CentOS firewall blocking the connection - not Windows or Hyper-V.

    In case anyone else has the same issue you need to edit the file /etc/firewalld/zones/public.xml and add the lines in red below to open port 9091 to local addresses 192.168.1.* and then reload the firewall with firewall-cmd --reload

    You can then access the service through browsers on your LAN. Hope this may help someone

    <?xml version="1.0" encoding="utf-8"?>
      <description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
      <service name="dhcpv6-client"/>
      <service name="ssh"/>
      <rule family="ipv4">
        <source address=""/>
        <port protocol="tcp" port="9091"/>
      My System SpecsSystem Spec

Browser access to Hyper-V VMs on LAN

Similar Threads
Thread Forum
Browser tries to access Homegroup after logon
My web browser starts up and tries to access a Homegroup user after logon. This has started happening very recently. I've uninstalled recently installed programs and also searched through all the Startup programs but can't find a reason. I thought that I might have left a folder from one of my...
Browsers & Mail
Can no longer access using IE10 browser?
For some reason or other I can no longer access my email account (known formerly as when using the Internet Explorer10 browser, it will not go to the sign in window, although I can access the account by using the "InPrivate Browsing" option in IE10. Not a huge problem...
Browsers & Mail
Hyper-V "Remote File Browser" Shortcut - Create
How to Create a Hyper-V "Remote File Browser" Shortcut in Windows 8 and 8.1 Hyper-V Remote File Browsing is a shell namespace extension implemented by Hyper-V that provides a way to browse the folders/files on a remote Hyper-V server without requiring the server to open an extra shell over...
Lost access to running some programs and full access to C
Hi all I was annoyed by how Windows 8 keeps sharing folders on any network I connect to, so I did some digging on Google and found a post on how to disable network sharing. Someone also mentioned how changing Users Permissions / settings would things further, so I went ahead and changed those...
User Accounts and Family Safety
Access Denied - No Read Access
General Support
Enabling Internet Access in client hyper-v
Am testing out a version of windows 8 in client hyper-v. I want to give it internet access so that I can active it(am actually testing the activation process). I want the virtual machine to use my dial up connection. How do I do this.
Installation & Setup
No network access, ethernet or PCI card access
I've been using the same PCI card for years, and have had trouble over the years, but never like this. Ever since I installed Windows 8 it has been shaky, but I finally got my wifi to work for a while. I installed "Expat Shield", which is a ip blocker that allowed me to stream BBC for the olympics,...
Network & Sharing

Eight Forums Android App Eight Forums IOS App Follow us on Facebook