Ubuntu – Accessing local GAE SDK server from another computer in the network

localhostnetworkingUbuntu

I have development server (from google appengine sdk), running on my Ubuntu computer. I can access my site by navigating to localhost:8080

I want to access that site from another computer (with Vista OS) in the network.

ifconfig prints the following (snippet):

eth1 Link encap:Ethernet HWaddr 00:1f:e1:c5:30:cf
inet addr:192.168.1.103 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21f:e1ff:fec5:30cf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39204 errors:0 dropped:0 overruns:0 frame:46271
TX packets:26198 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25876770 (25.8 MB) TX bytes:4566161 (4.5 MB)
Interrupt:17 Base address:0xc000

I thought that I should just type http://192.168.1.103:8080 on my second machine to access the server, but that doesn't work.

I can share files in my home network successfully, so my Vista machine can navigate some directories in my Ubuntu machine, but I can't access the server.

What should I try next? Do I have to configure router in some way?

Thanks in advance.

Best Answer

If you're using Python:

sudo python2.5 dev_appserver.py -a 192.168.1.103 -p 8080 myapp/

Edit:
The development server also happens to listen to port 8080 by default, so that 2nd argument is redundant.

Related Topic