Re: About IP access control of Pyramid

60 views
Skip to first unread message

Chris Lambacher

unread,
Sep 3, 2012, 12:55:49 PM9/3/12
to pylons-...@googlegroups.com
Hi,

In you config file (development.ini) do you have "host = 127.0.0.1" if so change to "host = 0.0.0.0". First one says only listen to requests from local computer, second one says listen to requests on any interface (including remote requests).

If you already have "host = 0.0.0.0" then you probably have a firewall problem.

-Chris

On Mon, Sep 3, 2012 at 9:57 AM, Yang Yang <come...@gmail.com> wrote:
HI All,

I setup a pyramid server on my computer. 
However, I cannot access it from other computers.

The pyramid server IP address is 192.168.1.2:3000  and I setup port forwarding in the router to allow direct access to the server.

How should I configure the pyramid to allow access from other IP? Is there some options like allow-ip=*.*.*.*?

best regards,

Yang 

--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/GxUCs4vmimYJ.
To post to this group, send email to pylons-...@googlegroups.com.
To unsubscribe from this group, send email to pylons-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.



--
Christopher Lambacher
ch...@kateandchris.net

Yang Yang

unread,
Sep 5, 2012, 1:00:11 AM9/5/12
to pylons-...@googlegroups.com
Hi Chris,

Thanks for your reply. 
It is indeed a firewall problem, I have to enable python access in windows settings. Then all it works.

best regards,

Yang
Reply all
Reply to author
Forward
0 new messages