Thank you for your answer.
1.
I killed cherrypy process
2.
command:
python3 -m http.server 2020 --bind 127.0.0.1
output:
Serving HTTP on 127.0.0.1 port 2020 (http://127.0.0.1:2020/) ...
3.
command:
ps aux
output:
13487 0.1 0.4 91588 14432 pts/0 T 08:44 0:00 python3 -m http.server 2020 --bind 127.0.0.1
4.
command:
netstat -tulpn | grep :2020
output:
tcp 1 0 127.0.0.1:2020 0.0.0.0:* LISTEN 13487/python3
5.
command:
wget http://127.0.0.1:2020
output:
Connecting to 127.0.0.1:2020... connected.
HTTP request sent, awaiting response...
The same answer as with cherrypy. What does it mean?
PS: I also disabled SElinux
1.
I killed cherrypy process
2.
command:
python3 -m http.server 2020 --bind 127.0.0.1
output:
Serving HTTP on 127.0.0.1 port 2020 (http://127.0.0.1:2020/) ...
3.
command:
ps aux
output:
13487 0.1 0.4 91588 14432 pts/0 T 08:44 0:00 python3 -m http.server 2020 --bind 127.0.0.1
4.
command:
netstat -tulpn | grep :2020
output:
tcp 1 0 127.0.0.1:2020 0.0.0.0:* LISTEN 13487/python3
5.
command:
wget http://127.0.0.1:2020
output:
Connecting to 127.0.0.1:2020... connected.
HTTP request sent, awaiting response...
The same answer as with cherrypy. What does it mean?
PS: I also disabled SElinux