I can browse my server site using  ip:8080which is inside my home network.But I am not able to browse using hostname:8080I do not have dns server. I have edited /etc/hosts file to include hostname and ip. I can ping using hostname.127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4::1         localhost localhost.localdomain localhost6 localhost6.localdomain610.16.2.12 apple.myserver.com10.16.2.22 ball.myserver.com10.16.2.20 cat.myserver.com10.16.2.19 dog.myserver.com10.16.2.18 elep.myserver.comSimilar Issue Here.
Browse by hostname from internet browser
centos;hostname;hosts