Skip to content

"Run" server on other ports and hostnames

Latest
Compare
Choose a tag to compare
@g105b g105b released this 10 May 20:49
· 7 commits to master since this release
fe955c3

The serve command has always had the ability to bind to a custom port and hostname with the -p|--port and -b|--bind arguments, and with this minor release, these two arguments have now been exposed on the run command.

To run your project on port 8765:

gt run -p 8765

Have fun!