Re: Setting up an HTTP server on a KVM/QEMU guest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/06/2018 03:06 PM, Patrick O'Callaghan wrote:
> On Thu, 2018-09-06 at 10:54 -0700, Rick Stevens wrote:
>> On 09/06/2018 10:22 AM, Tom Horsley wrote:
>>> On Thu, 06 Sep 2018 17:17:21 +0100
>>> Patrick O'Callaghan wrote:
>>>
>>>> A gentle hint would be welcome.
>>>
>>> Unless you are using an honest to gosh bridge, the network
>>> on the VMs is not accessible to the host (at least that's
>>> what I've read). Using Mactavish networking (or whatever
>>> the heck it is called) don't work for host access.
>>
>> No, the 192.168.122.0/24 should be available from the host machine.
>> You DO have to hit the VM's 192.168.122.* address from the host.
>> If you want the VM to be available from the outside world, then
>> yeah, you need a full-up bridge and not a NAT.
> 
> When in doubt, simplify. I set up a basic web server by doing:
> 
> $ python -m SimpleHTTPServer
> 
> (which listens on 0.0.0.0:8000), opened the port in the firewall and
> tried to browse from the host. Same result. So it's not a bug in
> qbittorrent-nox.

You said you can ssh to it from the host. Are you doing that via IP
address or what? And how are you browsing from the host? Are you using
the 192.168.122 network? Is DNS resolving it to some other address?
Did you clear the browser's cache?

The simplest way would be to install the telnet client on the host, then

	telnet 192.168.122.whatever 8000

and see if it connects.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-        Change is inevitable, except from a vending machine.        -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux