Bind to port other than 300


Hello,is there any possible way to bind to a port other than 300. Thanks


Hey @SpeedyCraftah Glitch only opens one port to the outside world. That’s usually 3000 but can change under some circumstances; by default the PORT environment variable (process.env.PORT in Node) always has the right value if you haven’t set that variable to something else.

There’s currently no way to control which port is open or to use more than one. There are some workarounds, but they’re generally only necessary for pretty advanced use-cases. If you let us know what you are trying to do we might be able to point you to appropriate resources.