i can't access my laravel development server using IP address

时间:2018-03-25 20:52:15

标签: php android laravel

i'm trying to build an android app that requires interaction with a database server , i'm using my own computer for this purpose , i'm running wampserver 3.1.0 . i installed laravel successfully using composer , however when i type 192.168.1.6:8000/ to test i get a webpage displaying this error :

The following error was encountered while trying to retrieve the URL: http://192.168.1.6:8000/

Connection to 192.168.1.6 failed.

The system returned: (110) Operation timed out

The remote host or network may be down. Please try the request again.

Your cache administrator is webmaster.

note that i already started the server using the "php artisan serve --host ipaddress" command , and the permissions in httpd.conf and httpd-vhosts.conf are configured correctly .what confuses me is that when i type the same url in my phone browser it shows the laravel page with no errors whatsoever !!! , help would be much appreciated .

1 个答案:

答案 0 :(得分:0)

我无法相信我没有注意到这一点,但我使用的是与我的网络浏览器集成的热点屏蔽,它一直阻止连接。