process.env.PORT prints weird string

可紊 提交于 2020-01-25 12:10:43

问题


When running console.log("Express server listening on port " + port); in node.js on a deployed Azure website, I get the following string

Express server listening on port \\.\pipe\d9797e42-9e1f-421c-91b9-3d86496eaeb8

What is this and how can I determine what port my site is really running on?


回答1:


Should be running in port 80.

Seems like an internal instruction from the server



来源:https://stackoverflow.com/questions/25514750/process-env-port-prints-weird-string

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!