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?
If that port is blocked you can specify a port by running:
$ craft serve --port 8080
So just use:
craft serve --port 3000