Where to change HTTP port setting in Masonite?

212 Views Asked by At

When I run craft serve and it serves the web pages on 8000 port.

Is there any setting where I can change the port so I can run the server on 3000 Port or something?

1

There are 1 best solutions below

1
On BEST ANSWER

If that port is blocked you can specify a port by running:

$ craft serve --port 8080

Source

So just use:

craft serve --port 3000