desenvolvimento
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
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.
NodeJS Port
-
Dennis moved item to board Closed
2 years ago -
desenvolvimento moved item to project Bugs
2 years ago -
desenvolvimento created the item
2 years ago