linux centos access http server using ip address code example Example: how to get server ip address centos $ ip addr show