First run something like whatsmyip, I use www.ipchicken.com
. This will tell you what your IP address is (not your machine IP but the modem ID of your internet connection. (If you need your machines IP, please tell me and we can go through that) In most cases your ISP (internet service provider) will assign you a set of dynamic IP addresses so this can change from time to time. Example 220.127.116.11 (this is what the out side world see's and your address would be something like that) This address will change from time to time and I suggest signing up for the free service www.dyndns.com
(this refreshes your IP every month and if changes it does it for you, it also gives you a free domain name instead of using an IP to connect)
Once you have the address you can try accessing from a remote location, I don't know where you are trying to access it from but I would guess work or school or something like that. The perfect example that I can think of is to put in your URL bar something like this: 18.104.22.168:80
. The reason for port 80 is because your server (linux box) is running that by default (so if you have't changed the port that should display something like a Apache Test Page. If you don't get this then you need to check the following:
1) are you behind a router? if so you need to open the port which matches to your httpd.conf file (by default this is port 80)
2) if your not behind a router then make sure that the httpd.conf file has the correct settings (from the sounds of it, it should, since you can see local host).
3) if you don't have a router it could be the firewall with in linux, make sure you open the HTTP.
Hope this helps somewhat, could be a little much and somewhat confusing but should give you some insight. Good Luck!