Any webserver can be accessed from anywhere provided u give the right ip which is static.

I guess you may have some firewall issues if it does not connect withing your network through an ip