Access tethys platform from another computer

11 views
Skip to first unread message

Ibrah Seidou Sanda

unread,
Apr 5, 2019, 5:09:41 AM4/5/19
to Tethys Platform

Dear all,


I am new to the tethys platform. I have installed the development server on a server and it is running, but i can access it only from that same server at the address x.x.x.x:8000.


I would like to make it accessible from other computers on the local network for my colleagues. How can I do that ?


Regards.

Shawn Crawley

unread,
Apr 5, 2019, 6:06:47 PM4/5/19
to Ibrah Seidou Sanda, Tethys Platform
Ibrah,

I'm not sure how you are starting up the server application. Regardless, when you start it up, you must specify the "port" that you are running it on. It defaults to localhost:8000, but you can specify it to run on all IPv4 addresses on the local machine by specifying "0.0.0.0:8000" as the "port".

Depending on how you are starting up the server, do one of the following:

python manage.py runserver -p 0.0.0.0:8000

OR

tethys manage start -p 0.0.0.0:8000

OR


I believe those should all work and do the same thing.

Good luck!

-Shawn

--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/363c09b0-ae88-45b0-9796-51ca4ed13045%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

swainn

unread,
May 2, 2019, 11:44:24 AM5/2/19
to Tethys Platform
Ibrah:

While what Shawn said is not wrong, it is not our recommended approach if your intent is to setup Tethys on a server, rather than using it for development. The "tms" command starts up a development server that is only suitable for developing Tethys apps. Please refer to our Production Installation documentation for our recommended approach for installing Tethys on a server: http://docs.tethysplatform.org/en/stable/installation/production.html

Nathan


On Friday, April 5, 2019 at 4:06:47 PM UTC-6, shawncrawley wrote:
Ibrah,

I'm not sure how you are starting up the server application. Regardless, when you start it up, you must specify the "port" that you are running it on. It defaults to localhost:8000, but you can specify it to run on all IPv4 addresses on the local machine by specifying "0.0.0.0:8000" as the "port".

Depending on how you are starting up the server, do one of the following:

python manage.py runserver -p 0.0.0.0:8000

OR

tethys manage start -p 0.0.0.0:8000

OR


I believe those should all work and do the same thing.

Good luck!

-Shawn

On Fri, Apr 5, 2019 at 4:09 AM Ibrah Seidou Sanda <ibr...@gmail.com> wrote:

Dear all,


I am new to the tethys platform. I have installed the development server on a server and it is running, but i can access it only from that same server at the address x.x.x.x:8000.


I would like to make it accessible from other computers on the local network for my colleagues. How can I do that ?


Regards.

--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatform+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages