If you can access it via localhost but not via your ip address, it mostlikely means your server is binding to 127.0.0.1 instead of any. Take a look at http.conf, you probably had "Listen 127.0.0.1:8080", change that to "Listen 8080", you can then access it via your ip address.