0

I have created a simple Ubuntu Server on VirtualBox. I wanted to run Apache server but I can't acces the website from any other device.

I have checked that Apache is listening on port 80 using apache2.conf.

netstat -tnl | grep :80<br>
tcp6 0 0 ::80 :::* LISTEN

service apache2 status<br>
*apache2 is runnig

I can ping the ip of vbox on host, but can't ping host on vbox.

I have bridge adapter network on vbox setting.

And I can access the website on vbox machine.

Any ideas?

guntbert
  • 13,475

1 Answers1

0

The output of the netstat commands shows that apache is listening on the IPv6 port 80 only.

For starters try to force apache to use IPv4 (for an example see https://www.rackaid.com/blog/how-to-disable-ipv6-in-apache-server/ ) and try again.

sмurf
  • 4,750
  • 1
  • 26
  • 30