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

Timeout when running from Code9 IDE #177

Closed
johnreynolds opened this issue Jul 25, 2016 · 10 comments
Closed

Timeout when running from Code9 IDE #177

johnreynolds opened this issue Jul 25, 2016 · 10 comments
Milestone

Comments

@johnreynolds
Copy link

When using Cloud9IDE hosting, when you get to the point The app is running at http://localhost:3000/... I get a timeout when clicking the link.

This is resolved if I follow the npm run build directions.

@gaearon
Copy link
Contributor

gaearon commented Jul 25, 2016

We haven’t tried supporting Cloud9IDE yet but this is on our list of things to check.
Thanks for the issue.

@johnreynolds
Copy link
Author

No worries... I love what you're trying to accomplish.

@reiner23fx
Copy link

@gaearon Why not just use process.env.HOST & process.env.PORT in the listen statement?
And use localhost:3000 as fallback.

@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

@reiner23fx If we randomly add configuration as people ask for it, we will end up with a webpack-like config. I think we should approach this more holistically and first figure out all the things people want to configure, then design a sensible config for them. Please see #102.

@ForbesLindesay
Copy link
Contributor

HOST and PORT environment variables are really standardised. If we support them, we probably won't need to tell anyone about them and things will Just Work™ in environments that provide them (e.g. I think Cloud9IDE may provide them). I think most of the users who want to customise the port number will also be OK with setting an environment variable.

@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

Sure, it’s a possible option.

@gaearon gaearon added this to the 0.2.0 milestone Jul 27, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

This is fixed by 2fe84ec.

@gaearon gaearon closed this as completed Jul 27, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

Please try the latest alpha and let us know if it fixes the issue. Here's how: #190

@johnreynolds
Copy link
Author

Works like a champ.

Thanks!

On Wed, Jul 27, 2016 at 3:56 PM, Dan Abramov [email protected]
wrote:

Please try the latest alpha and let us know if it fixes the issue. Here's
how: #190 #190


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#177 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6ubBsWFORPspyElFQM5XodIy3pyLhmks5qZ9QjgaJpZM4JUVqg
.

@reiner23fx
Copy link

Works perfectly !!

Thanks alot !!

@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants