ERR_CONNECTION_REFUSED被浏览器访问无业游民

时间:2019-04-01 15:28:57

标签: laravel apache vagrant

我遇到标题问题。

vagrantfile

config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder "./", "/var/www/app",
:owner => "vagrant",
:group => "vagrant",
:mount_options => ["dmode=777,fmode=775"]

httpd.conf

DocumentRoot "/var/www/app/public"

<Directory "/var/www/app/public">
...

程序

> sudo service httpd start
[  OK  ]

access https://192.168.33.10/ by host OS browser.

but ERR_CONNECTION_REFUSED occured

/ etc / httpd / log / error_log

no logs about this

/ etc / httpd / log / access_log

no logs about this

netstat

> netstat -ant | grep 80
tcp        0      0 :::80                       :::*                        LISTEN

lsof

sudo lsof -i:80
COMMAND  PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
httpd   3991    root    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   3994 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   3995 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   3996 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   3997 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   3998 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   4105 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   4107 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)
httpd   4108 vagrant    4u  IPv6  15275      0t0  TCP *:http (LISTEN)

服务

> sudo service httpd status
httpd (pid  3991) is running...

我对此一无所知。

你能帮我吗?

0 个答案:

没有答案