desenvolvimento

desenvolvimento

Closed

Hello.

Looks like the NodeJS server is always starting on port 3000, even though I have specified a different one in Settings. So when I try to run more then one application I'm getting the following error: Address localhost:3000 is already in use.

Best Regards

André Nascimento

Dennis

Dennis

·
·

Usually, you define the port in a .env or .js file:

https://github.com/ploi-deploy/nodejs-example/blob/master/index.js#L3

The port setting in Ploi is to make sure newly created sites won't take up that port.

no votes yet
You may use @ to mention someone.

NodeJS Port

1 total vote
desenvolvimento
  • Dennis moved item to board Closed

    1 year ago
  • desenvolvimento moved item to project Bugs

    1 year ago
  • desenvolvimento created the item

    1 year ago