Home > other >  Beginners ask you a question in PHP artisan serve operation after the project can't use the IP
Beginners ask you a question in PHP artisan serve operation after the project can't use the IP

Time:12-04



In PHP artisan serve laravel project operation, then the browser type localhost: 8000 or 127.0.0.1:8000 can be accessed to laravel project, why can't I use my own IP address to access, such as my IP address is 192.168.233.233, then I enter in the browser address bar 192.168.233.233:8000 will not be able to access project, why can't I use my own IP address to access, how to solve?



CodePudding user response:


You open the 8000 no external access

CodePudding user response:


See the IP address, you should not like public address, want to foreign visit, must have a public IP, generally we use is a network address,

CodePudding user response:


In the majority nonsense

CodePudding user response:


The building Lord problem solved, I also is same, IP network can access, 127.0.0.1 can

CodePudding user response:


PHP artisan serve - host 0.0.0.0

CodePudding user response:

PHP artisan serve - host 0.0.0.0

CodePudding user response:

reference 1st floor response:
you open 8000 no external access



PHP artisan serve - host 0.0.0.0
  • Related