Search code examples
python-3.xmasonite

Where to change HTTP port setting in Masonite?


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?


Solution

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

    $ craft serve --port 8080
    

    Source

    So just use:

    craft serve --port 3000