Re: [Mailman-Developers] RELEASED: GNU Mailman 3.0 beta 1 and Postorius 1.0 alpha 1
Hi Odhiambo,
Am 28.03.12 18:47, schrieb Odhiambo Washington:
One more thing:
In settings.py, I have this:
REST_SERVER = 'http://192.168.40.252:8001'
However, this doesn't seem to be respected when I do runserver:
[root@jaribu] /usr/home/wash/Tools/Mailman/MM3/postorius/dev_setup# python manage.py runserver Validating models...
0 errors found Django version 1.4, using settings 'dev_setup.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C.
[root@jaribu] /usr/home/wash# sockstat -l | grep 800 root python 77906 3 tcp4 127.0.0.1:8000 http://127.0.0.1:8000 *:* root python 14108 43 tcp4 127.0.0.1:8001 http://127.0.0.1:8001 *:*
Since I am not using the server as a Desktop, I need a way to access it remotely, not via 127.0.0.1
The REST_SERVER setting defines the location of Mailman's rest API (which is frequently accessed by postorius), *not* the address of postorius itself. The API can only be accessed from localhost, so the setting has to be 'http://localhost:8001'.
If you'd like to access postorius from a different machine as the one you're running it on, that's no problem:
Just run the development server like this and you're good to go:
python manage.py runserver 192.168.x.xxx:8000
(Don't do that on a machine that is exposed to the web though, since Django's dev server is not meant to be run in a production environment.)
Hope that helps!
Florian
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
On Wed, Mar 28, 2012 at 22:31, Florian Fuchs f@state-of-mind.de wrote:
Hi Odhiambo,
Am 28.03.12 18:47, schrieb Odhiambo Washington:
One more thing:
In settings.py, I have this:
REST_SERVER = 'http://192.168.40.252:8001'
However, this doesn't seem to be respected when I do runserver:
[root@jaribu] /usr/home/wash/Tools/Mailman/MM3/postorius/dev_setup# python manage.py runserver Validating models...
0 errors found Django version 1.4, using settings 'dev_setup.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C.
[root@jaribu] /usr/home/wash# sockstat -l | grep 800 root python 77906 3 tcp4 127.0.0.1:8000 http://127.0.0.1:8000 *:* root python 14108 43 tcp4 127.0.0.1:8001 http://127.0.0.1:8001 *:*
Since I am not using the server as a Desktop, I need a way to access it remotely, not via 127.0.0.1
The REST_SERVER setting defines the location of Mailman's rest API (which is frequently accessed by postorius), *not* the address of postorius itself. The API can only be accessed from localhost, so the setting has to be 'http://localhost:8001'.
If you'd like to access postorius from a different machine as the one you're running it on, that's no problem:
Just run the development server like this and you're good to go:
python manage.py runserver 192.168.x.xxx:8000
(Don't do that on a machine that is exposed to the web though, since Django's dev server is not meant to be run in a production environment.)
Hope that helps!
Florian
Thanks. At least I have a firewall in the name of OpenBSD's PF!
I am yearning for the day MM3 will be production-ready. You guys are doing a great job!
BTW - Seems MM3 will only be run with Postfix, because the Exim experts have not embraced it:-(
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
On Wed, Mar 28, 2012 at 22:31, Florian Fuchs f@state-of-mind.de wrote:
Hi Odhiambo,
Am 28.03.12 18:47, schrieb Odhiambo Washington:
One more thing:
In settings.py, I have this:
REST_SERVER = 'http://192.168.40.252:8001'
However, this doesn't seem to be respected when I do runserver:
[root@jaribu] /usr/home/wash/Tools/Mailman/MM3/postorius/dev_setup# python manage.py runserver Validating models...
0 errors found Django version 1.4, using settings 'dev_setup.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C.
[root@jaribu] /usr/home/wash# sockstat -l | grep 800 root python 77906 3 tcp4 127.0.0.1:8000 http://127.0.0.1:8000 *:* root python 14108 43 tcp4 127.0.0.1:8001 http://127.0.0.1:8001 *:*
Since I am not using the server as a Desktop, I need a way to access it remotely, not via 127.0.0.1
The REST_SERVER setting defines the location of Mailman's rest API (which is frequently accessed by postorius), *not* the address of postorius itself. The API can only be accessed from localhost, so the setting has to be 'http://localhost:8001'.
If you'd like to access postorius from a different machine as the one you're running it on, that's no problem:
Just run the development server like this and you're good to go:
python manage.py runserver 192.168.x.xxx:8000
(Don't do that on a machine that is exposed to the web though, since Django's dev server is not meant to be run in a production environment.)
Hope that helps!
Florian
My current quest is to see what MM3 web UI looks like, but it appears I am still way behind. I get these errors in the backend when I run posturious and try to access it:
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
participants (2)
-
Florian Fuchs
-
Odhiambo Washington