Search code examples
google-app-enginegolocalhostcloud9-ide

How to open localhost:8080 in Cloud9 IDE?


I am developing an app engine project (golang) in Cloud9 IDE. For testing in desktop i would go to localhost:8080 in my desktop browser.

In Cloud9, I tried https://workspace-username.c9.io with $PORT set as 8080, but somehow its not working for appengine project. But it is working for normal go web project though.

How do i test app engine application in Cloud9 IDE? or

How do i open http://localhost:8080 in Cloud9 IDE?


Solution

  • I see some users are looking for the answer for this, So here is how to do it.

    instead of "goapp serve" use "goapp serve -host 0.0.0.0"

    credits to Cloud9 support team.