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

Listen to port 3000 instead of 8080 #26

Closed
hirako2000 opened this issue Aug 4, 2018 · 3 comments
Closed

Listen to port 3000 instead of 8080 #26

hirako2000 opened this issue Aug 4, 2018 · 3 comments
Milestone

Comments

@hirako2000
Copy link
Contributor

Many local env already listen to 8080.
Make rollup server listen to 3000 by default as it's a common dev port to use

@sasha240100
Copy link
Owner

@hirako2000 By the way, what's wrong with 8080? I guess it is aka default one

@hirako2000
Copy link
Contributor Author

The problem with port 8080 is that:

  • Some machines already listen to this port (as it's the default http port), rollup serve output stupidly fails without even saying it's because the port is already taken
  • 8080 should be used for front facing production servers, not good practice for dev
  • Dev common port to use is 3000, or 8000

We could use any arbitrary port, but anything is better than 8080.

sasha240100 added a commit that referenced this issue Aug 6, 2018
Rollup-serve to listen to port 3000 instead of 8080 #26
@sasha240100
Copy link
Owner

@hirako2000 Merged

@sasha240100 sasha240100 added this to the v0.1.2 milestone Aug 15, 2018
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