Skip to content

change the default port 8080 of socket io to different port #4876

Answered by darrachequesne
tmarinov82 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

You can change the port the PM2 "God" process is listening to with the PM2_PORT env variable: https://github.com/socketio/pm2/blob/94e9a43df4b6e011553cd07fcae202bd93ec9cb7/lib/God.js#L90

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tmarinov82
Comment options

@darrachequesne
Comment options

@tmarinov82
Comment options

@darrachequesne
Comment options

Answer selected by tmarinov82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants