0

My host OS is Gentoo, guest OS - Fedora. I have a web server on Fedora on port 8686 and it works perfectly on guest OS, but I can't access it on my host OS. I tried to use bridged network (then I got 2 different IPs to my guest and host machines from router) and NAT (then I forward port 8686). Nothing helped, but SSH works nicely when using both NAT and bridge (even if using the same port). How to solve this issue?

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255

1 Answers1

0

If ssh works nicely in both NAT and bridge and on the same port as web-server, then problem is in your web-server configuration.
Check what ip address your web-server binds to. You can check it with netstat utility (you must run it with root privileges):
netstat -nltp