Php yii serve - change the port

Hi, can somebody tell me please if is possible to change server port for command php yii serve? I am getting an error http://localhost:8080 is taken by another process.

You can get help by typing yii serve --help.
(-p port)

1 Like

Thank you. It works.