Skip to content

请问项目部署时,build成dist文件,然后pm2启动,如何访问这个项目?地址应该写那个 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jusheng opened this issue Jan 12, 2018 · 1 comment

Comments

@jusheng
Copy link

jusheng commented Jan 12, 2018

请问项目部署时,build成dist文件,然后安装依赖pm2启动后,如何访问这个项目?地址应该写哪个呢?

@eugeneCN
Copy link
Owner

eugeneCN commented Jan 13, 2018

pm2部署其实就是启动了app.js文件,默认端口为3000,一般是http://localhost:3000 就可以本地访问了,如果部署生产需要用nginx做端口映射。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants