New foreman install on CentOS 7 Minimal VM.
Cannot access GUI from host server.
Should be able to access GUI via NAT Network with Port Forwarding.
Other relevant data:
Desktop: Ubuntu 18.04 running Oracle VM VirtualBox 6.0.2 r128162 (Qt5.9.5)
Guest VM: CentOS-7-x86_64-Minimal-1810 with VBoxGuestAdditions_6.0.2
NAT Network with Port Forwarding - needed for Internet (repo) access through my desktop host server.
do you get any error messages in your browser when you try accessing the UI? If not, what exactly do you see?
Also, please consult the apache logs and /var/log/foreman/production.log for a) an connection attempt from your host and b) if there are any errors showing up while you try to access the UI.
The netstat output looks completely fine to me. Ports 80 and 443 are bound correctly (listen on any address, it’s completely ok that it only shows with IPv6, it works with IPv4 as well in that case).
The foreman service you manually started on port 3000 should not be needed. By default the installer deploys via Apache with Passenger. Port 8140 is the Puppet server and I don’t expect you to directly connect ot it. Port 8443 is the Foreman Proxy and again not something you directly connect to. Port 443 is where you want to be.
I’m having the same issue here, when i try to access to the webgui nothing shows up. If i use the the host name that i set before (“foreman.lan”) it shows me the Apache page. Can you explain me how did you solve the port forwarding issue ?