dev_appserver.py

200 views
Skip to first unread message

Rambatla Venkat Rao

unread,
Mar 17, 2009, 12:56:17 AM3/17/09
to Google App Engine
Hi,

I developed a python application on eclipse using plugin pydev...

my url is http://localhost:8080/sample its working fine...

nut my url is not accesed from other systems the url i gave is
http://ws-10.hyd.ecomzera.com:8080/workspace_loc:rhs/src

where ws-10 is system name
hyd.ecomzera.com is domain
:8080 is port number
workspace_loc:rhs/src is workspace directory

its not opening from other systems

its working fine in my local system

I am trying in command prompt dev_webserver.py myapp

its displaying dev_webserver.py is not recognized as a internal or
external command...

what to do please help

Rambatla Venkat Rao

unread,
Mar 17, 2009, 12:59:46 AM3/17/09
to Google App Engine
Hi,

I developed a python application on eclipse using plugin pydev...

my url is http://localhost:8080/sample its working fine...

nut my url is not accesed from other systems the url i gave is
http://ws-10.hyd.ecomzera.com:8080/workspace_loc:rhs/src

where ws-10 is system name
hyd.ecomzera.com is domain
:8080 is port number
workspace_loc:rhs/src is workspace directory

its not opening from other systems

its working fine in my local system

I am trying in command prompt dev_appserver.py myapp

its displaying dev_webserver.py is not recognized as a internal or
external command...

what to do please help
--~--~---------~--~----~------------~-------~--~----~

Tim Hoffman

unread,
Mar 17, 2009, 2:17:57 AM3/17/09
to Google App Engine
Hi

Have a read of the docs/command line for dev_appserver.

By default the dev server only listens to localhost (ie the loopback
interface) and
is therefore not listening on any other interface (apache for instance
by default will listen to all interfaces).

You need to start the dev server with the command line option telling
it to listen on a particular interface

Note below the --address and --port options

Also there is probably a good chance your firewall (you do have a
firewall) should block inbound access on that port.

T



python ../google_appengine/dev_appserver.py --help
Runs a development application server for an application.

dev_appserver.py [options] <application root>

Application root must be the path to the application to run in this
server.
Must contain a valid app.yaml or app.yml file.

Options:
--help, -h View this helpful message.
--debug, -d Use debug logging. (Default false)
--clear_datastore, -c Clear the Datastore on startup. (Default
false)
--address=ADDRESS, -a ADDRESS
Address to which this server should bind.
(Default
localhost).
--port=PORT, -p PORT Port for the server to run on. (Default
8080)
--datastore_path=PATH Path to use for storing Datastore file
stub data.
(Default /tmp/dev_appserver.datastore)
--history_path=PATH Path to use for storing Datastore
history.
(Default /tmp/
dev_appserver.datastore.history)
--require_indexes Disallows queries that require composite
indexes
not defined in index.yaml.
--smtp_host=HOSTNAME SMTP host to send test mail to. Leaving
this
unset will disable SMTP mail sending.
(Default '')
--smtp_port=PORT SMTP port to send test mail to.
(Default 25)
--smtp_user=USER SMTP user to connect as. Stub will only
attempt
to login if this field is non-empty.
(Default '').
--smtp_password=PASSWORD Password for SMTP server.
(Default '')
--enable_sendmail Enable sendmail when SMTP not configured.
(Default false)
--show_mail_body Log the body of emails in mail stub.
(Default false)
--auth_domain Authorization domain that this app runs
in.
(Default gmail.com)
--debug_imports Enables debug logging for module imports,
showing
search paths used for finding modules and
any
errors encountered during the import
process.
--disable_static_caching Never allow the browser to cache static
files.
(Default enable if expiration set in
app.yaml)


On Mar 17, 1:59 pm, Venky <venkatrambo...@gmail.com> wrote:
> Hi,
>
> I developed a python application on eclipse using plugin pydev...
>
> my url ishttp://localhost:8080/sampleits working fine...
Reply all
Reply to author
Forward
0 new messages