0

I'm trying to make Python/Django site on Virtualbox Fedora Server guest visible via browser on Fedora Workstation host. I had already opened 8080 port with:

firewall-cmd --zone=public --add-port=8080/tcp

On server side

I connect to Fedora Server through SSH with IP from host-only network, but have two networks, one with NAT second host-only

I run my Django site with:

python3 manage.py runserv 0.0.0.0:8080

And I had set port forwarding for my NAT network with such pairs of settings {setting_name:setted_value}:

{ Protocol:TCP, Host IP:127.0.0.1, Host Port:8080, Guest IP:10.0.2.15, Guest Port:8080}

where 10.0.2.15 is my NAT ip

But when I'm trying to access with a browser:

127.0.0.1:8080

it's loading without end. I don't know how should I set up these to work. What am I missing?

  • Why don't you just connect to 10.0.2.15? Adding in a port forwarding seems to be overly complicated. – Michael Hampton Jul 22 '18 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.