GAE Devlopment server binding LAN IP adress

45 views
Skip to first unread message

Prakash A

unread,
Apr 1, 2016, 8:05:40 AM4/1/16
to Google App Engine
Developing an Web App Dynamic Module using core Java. Created the development server appropriately.

When I start the server, it runs perfectly.

However, when I set the "Local Interface address to bind to" value (I have entered a proper value), the server starts (I can see "Dev App Server is now running" in the console), and then the process shows an error with timeout. 

I see this happening, when I enter the bind to IP address value.

I try to increase the Start Timeout from 240s to 480s. Still same issue.

Thomas Taschauer

unread,
Apr 2, 2016, 8:07:25 AM4/2/16
to Google App Engine
Sounds like you want to expose your development server to your LAN, is that correct? If so, try this: https://cloud.google.com/appengine/docs/java/tools/devserver#Command_Line_Arguments and http://stackoverflow.com/a/30578856/198996

Prakash A

unread,
Apr 4, 2016, 11:17:42 AM4/4/16
to Google App Engine
Thanks for your reply, Thomas.

Answer provided by you is the main objective of the need. However, the way it shall be done is the problem comes in Eclipse.

If you provide the --address=x.x.x.x, it will be stripped in the VM arguments. Solution, they provided an option text box, where the IP address can be entered. See image. when you enter the IP address, you can see the --address argument is added in the VM arguements. Upto now is perfect.

When we start the server, with LAN IP address entered, "start operation" starts, development server started message is displayed. However, the operation is not completed (I mean to say the process bar is running at 100% display). After some time, operation time exceeds the time limit, and the server stopped throwing an error.

Thats the story. Hope, now you understand the problem, and where I am facing the issue.

Nick (Cloud Platform Support)

unread,
Apr 4, 2016, 4:14:47 PM4/4/16
to Google App Engine
Hey Prakash,

It's not clear to me exactly what's happening here, from the description. I'm willing to assist with some useful questions, but first I must clarify that this forum isn't really the right place for specific-issue technical support. Your question seems suited to Stack Overflow, and should be posted there, but with enough information that someone on the other side of the net can understand the system through the description and information provided.

We monitor many tags on Stack Overflow quite closely, and more than this, there's an entire user-base of people willing to help who might have seen the same issue as you're describing and solved it. If you post there, feel free to post the link here and I can take a look. Now, as to the information which is missing, it's mostly because I'm not familiar with exactly what process you're using to develop the app and run the devserver. If you'd like, you could upload an example skeleton application to github with instructions on how to reproduce, which is a best practice for reporting issues to other users online.

If you have any questions or comments, don't hesitate to ask and I'll be happy to assist in any way I can. Cheers!

Nick
Cloud Platform Community Support
Reply all
Reply to author
Forward
0 new messages