I have a problem, I have a nodejs app that in turn has a Dashboard to edit bot configurations through an interface.
This website to emulate uses port 3000 (the default port to be shown as a web) but the problem is as follows:
• If I do not indicate the process.env.port in the index.js, it does not load said Dashboard.
• If the specific in the index.js does not load the Dashboard (Because Port 3000 is being used)
I have made a temporary solution, it consists of:
• Specific in the index.js the port and once you have started changing the port number to 3001, in this way or to Dashboard you can use port 3000.
Of course, this solution is effective, but the problem is that with the glitch restarts the projector generates again the errors that I mentioned previously, it does not load and it remains as “waiking up …”
The name of my project is “yuukibot-dashboard”