I have web server, I can use it with ssh connection, ssh root@ip
But I can't access it as web server. I tested simply python tool, http.server and also tested installing and starting httpd
.
Output for:
# ifconfig eth0 | grep inet | awk '{ print $2 }'
addr:[ip address that I'm using for ssh]
addr:
OS: Centos
What else I must do?
Problem was with firewall. Solved using this instruction: Configure iptables
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.