PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, January 4, 2022

[FIXED] How to run multiple Laravel projects at same time?

 January 04, 2022     laravel, laravel-5.4     No comments   

Issue

To run one laravel project we only need to type "php artisan serve". and it will be available on port 8000.

But sometimes we need to run multiple projects at the same time. How can we do this?


Solution

tl;dr one cannot have more than one listener per TCP port at the same time. If you need more web server instances: try another port:

php artisan serve --port=8001

then go to http://localhost:8001


References:

  • Can two applications listen to the same port?
  • https://laravel.com/docs/8.x


Answered By - emix
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing