Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let user choose PORT or change default PORT from 3000 #316

Open
CelularBat opened this issue Jun 19, 2024 · 1 comment
Open

Let user choose PORT or change default PORT from 3000 #316

CelularBat opened this issue Jun 19, 2024 · 1 comment

Comments

@CelularBat
Copy link

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.

@urlfetcher27
Copy link

Have you tried changing it in the androidjs.js file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants