Let user choose PORT or change default PORT from 3000
Opened this issue · 0 comments
CelularBat commented
Is your feature request related to a problem? Please describe.
AndroidJS uses port 3000 and some other Node modules also use port 3000 by default and it makes conflict.
Yes - you can usually change port in other node modules to other number. However some hosting providers, like glitch.com are configured to always listen on port 3000 for app preview. Therefore I can't use both AndroidJS and ExpressJS modules and host such project online, because androidjs occupies the port which is traditionally reserved for listening to web app.
Describe the solution you'd like
Change default port to another, or let user define the port.