-
Notifications
You must be signed in to change notification settings - Fork 423
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
Default port in use #64
Comments
Worth noting: as far as I can tell, the port is taken up by Bonjour, a core service of the OS. So this isn’t just contention with another user application, it’s conflicting with the OS. |
Oh, it actually does allow a different port. The syntax is simply $ grip 8080 or $ grip AUTHORS.md 8080 to run with a different file. Thanks for your interest, @klmr! |
Sure, but I’d like to make this configurable so that I can simply use |
Oh ok, gotcha. Apologies. Re-opening this as an enhancement. The default port is currently Flask's default. I'm not sure it's worth changing that, but it's definitely worth having a This work will tie in nicely with #38, which also involves moving user-level files to the right place. |
The default port of
grip
– 5000 – is already in use on my OS X 10.9. When accessing http://localhost:5000, I get a text response, saying(I get this whenever accessing the address, regardless of whether
grip
is running.)It would be good if
grip
used a different default port, or had a configurable port. At the moment, settings are only read fromsettings.py
andsettings_local.py
. Having them read from$HOME/.griprc
(say) would help.The text was updated successfully, but these errors were encountered: