Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我运行它并在端口craft serve上提供网页时。8000
craft serve
8000
有没有可以更改端口的设置,以便我可以在3000端口或其他东西上运行服务器?
3000
如果该端口被阻止,您可以通过运行指定端口: $ craft serve --port 8080 资源
如果该端口被阻止,您可以通过运行指定端口:
$ craft serve --port 8080
资源
所以只需使用:
craft serve --port 3000