lundi 2 novembre 2020

host django project on windows laptop can be access through internet [duplicate]

I want to host my Django project on a local machine with docker.

I have configured the docker and create an image of it.

i configured in dockerfile:

EXPOSE 8000
cmd python manage.py runserver 0.0.0.0:8000

but I can only access only on local machines and machines which are connected in LAN.

I want to access through any other device which is out of my LAN.

I don't want any external software for hosting.

in short, I want to host my website with IP address and run on my machine with docker. and can be accessed through internet.




Aucun commentaire:

Enregistrer un commentaire