Closed rightparen closed 5 years ago
The existing code only listens on localhost. With --net=host on Linux, this allows local testing, but it is not possible to reach the server over the network.
--net=host
Dockerfile needs a change in the last runserver line to read:
python3 /home/rdtreader/rdt-reader/django_server/manage.py runserver 0.0.0.0:9000
fixed this in the dockerfile sript.
The existing code only listens on localhost. With
--net=host
on Linux, this allows local testing, but it is not possible to reach the server over the network.Dockerfile needs a change in the last runserver line to read: