google app engine application run with ipaddress instead of localhost

804 views
Skip to first unread message

Anantula Josna

unread,
May 24, 2012, 7:08:50 AM5/24/12
to google-a...@googlegroups.com
hi all,
anybody plese tell me,i am running google app engine application with localhost:8080 its running perfectly.but i would like to run same application with 0.0.0.0:8080(example) its giving error unable to connect.but thing is i started server tomcat and accessed with ipaddress example application in tomcat webapps,its working fine.through another pc also perfectly working.so what is the problem with appengine sever. 

Matthew Jaggard

unread,
May 24, 2012, 8:59:22 AM5/24/12
to google-a...@googlegroups.com
Java
https://developers.google.com/appengine/docs/java/tools/devserver#Command_Line_Arguments

or
Python
https://developers.google.com/appengine/docs/python/tools/devserver#Command_Line_Arguments
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/uP_AfWlepxQJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.

Brandon Wirtz

unread,
May 24, 2012, 12:43:36 PM5/24/12
to google-a...@googlegroups.com

Because GAE isn’t hardened when you aren’t running it on localhost, (and even though you can bind it to an outside IP)… I would recommend that you setup a local Reverse Proxy to bind to your outside IP.  Even a Reverse NAT with Firewall would be a better setup than exposing GAE to “the world”

 

Anantula Josna

unread,
May 25, 2012, 12:42:36 AM5/25/12
to google-a...@googlegroups.com
hi, i tried with that url python,which u given server running at ip.but when i tried to test with that its not working same issue came again,

how to setup local reverse proxy to achieve this.

Juan de Dios Becerra

unread,
May 14, 2014, 4:00:04 PM5/14/14
to google-a...@googlegroups.com
It is only available for command line? I am using java in eclipse with GAE plugin, I have modified Configurations but I have this message when I try to run it: Usage: <dev-appserver> [options] <app directory>

Options:
 --help, -h                 Show this help message and exit.
 --server=SERVER            The server to use to determine the latest
  -s SERVER                   SDK version.
 --address=ADDRESS          The address of the interface on the local machine
  -a ADDRESS                  to bind to (or 0.0.0.0 for all interfaces).
 --port=PORT                The port number to bind to on the local machine.
  -p PORT
 --sdk_root=DIR             Overrides where the SDK is located.
 --disable_update_check     Disable the check for newer SDK versions.
 --generated_dir=DIR        Set the directory where generated files are created.
 --jvm_flag=FLAG            Pass FLAG as a JVM argument. May be repeated to
                              supply multiple flags.
some idea?

Nick

unread,
May 15, 2014, 8:51:28 PM5/15/14
to google-a...@googlegroups.com
You can add the specified parameters directly to the arguments in your run config. (Run -> Run Configurations , Web Application ->  Project, Arguments tab, Program Arguments)

For example, 

--port=8080 -a 0.0.0.0 /Users/nick/Documents/projects/project/target/project-1.0-SNAPSHOT
Reply all
Reply to author
Forward
0 new messages