I have Apache Web server installed on VMWare guest machine, it has bridged LAN connection with static IP Address while the host machine has IP Address

My Host is behind router, the router has local IP Address and also has Public IP 101.254.x.x NATed/Port Forwarded to the guest machine

Now the problem is I'm able to access my site hosted on the guest machine from the host but not from the internet even though it should also be accessible from the internet, I have ftp and SSH service running on my guest machine and having no problem accessing the apps/services from the Internet.

I would appreciate any help or solutions related to the problem mentioned above, thanks

  • Have you forwarded port 80 on your router to And are you certain there are no firewalls (router, host, or guest) blocking the connection? – Anaksunaman Sep 18 '19 at 16:47
  • @Anaksunaman yes I have dst-nat rule to for apache service and its working, sudo ufw status return 'inactive' – Adrian Sep 19 '19 at 5:08
  • @Run5k Okay, thank you. – Adrian Sep 19 '19 at 5:09
  • @Anaksunaman dst-nat from 101.254.x.x:80 to also accessible from the internet – Adrian Sep 19 '19 at 13:42

Enabling second port in apache2 ports.conf is the solution for me in my case i have added second port in ports.conf Listen 80 and Listen 81 and now all services (except port 80) are accessible from the internet

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.