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/07/18 20:08, Patrick O'Callaghan wrote:
> On Thu, 2018-09-06 at 17:00 -0700, Rick Stevens wrote:
>> 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?
> IP address (via /etc/hosts).
>
>> And how are you browsing from the host? Are you using
>> the 192.168.122 network?
> Using the explicit IP address and port.
>
>> 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.
> I'd need to enable a telnet server on the guest, but I don't see what
> that would shows as ssh already works. IOW there is definitely two-way
> communication between host and guest.
>

Why would you need a telnet server?


-- 
Conjecture is just a conclusion based on incomplete information. It isn't a fact.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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