-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 6 Dec 2009, at 09:27, shocks wrote: > Hi > > When I run: paster serve --reload development.ini I am able to view > the site through 127.0.0.1:5000/myapp (on Ubuntu server) however I > cannot access this site from another machine on my network (ie > 192.168.1.5:5000/myapp). How do I configure Pylons/Paster to allow > external access to the Pylons app? Ah-ha, an easy one. Pylons defaults to a safe configuration and only serves on localhost, hence it is unreachable from other machines. To make your Pylons app reachable by other machines, change the "host" settting in the development.ini configuration file from "host = 127.0.0.1" to "host = 192.168.1.5" (as given above) or whatever specific IP address you wish to use, or even '0.0.0.0". There's more detailed information available in the Pylons book, handily available online: http://pylonsbook.com/en/1.1/exploring-pylons.html#a-word-about-ip-addresses-hosts-and-security HTH. Cheers, Graham http://www.linkedin.com/in/ghiggins -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAksb7hsACgkQOsmLt1NhivwOdACePVQ+hLSdyXpSK4SWQNWtCkxs SlkAnRNv2meMOyOfKgDDOh4xKxzfEsCTiQCVAgUBSxvuG1nrWVZ7aXD1AQKpNAQA xbF+a3+7bA73N+pt8WQ1Iex5mTdz9IaDquhUyz5t4ZWxqlB3yma0zHqc7Kg6XkOk id3rbp+H66BjvQI7pSBrBYYiT9RGQr5YLpEUhtsWlTUQcRMeapLrU/gHhV4Fg9E0 PkPKtMz3l3TP38POrhh0DfpRiB5/Bw2x8PRh4kHiS2U= =XiCm -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
