Back
I'm executing python manage.py runserver from a machine A when I am attempting to check in machine B The URL I composed is http://A:8000/I am getting a mistake like A framework returned: (111) Connection declined
You can execute it for machines in your organization by
./manage.py runserver 0.0.0.0:8000
And afterward, you will actually want to arrive at your server from any machine in your organization. Simply type on another machine in the program http://192.168.0.1:8000 where 192.168.0.1 is the IP of your worker... what's more, it all set...
or in you case:
On machine A in command line ./manage.py runserver 0.0.0.0:8000Than try in machine B in browser type http://A:8000Make a sip of beer.
Want to learn python to get expertise in the concepts of python? Join python certification course and get certified
When I ran python manage.py runserver on machine A and tried to access the URL http://A:8000/ from machine B, I received an error indicating that the connection was refused.
python manage.py runserver
http://A:8000/
I encountered an error message stating "(111) Connection refused" when I attempted to access the URL http://A:8000/ from machine B while running python manage.py runserver on machine A.
31k questions
32.8k answers
501 comments
693 users