Geek Alert for this post.
I’m running a web server app on my computer, which I can address by http://localhost:8080/webapp, where “webapp” is the app.
It works fine, but in theory, I should be able to access it from another machine on the network via http://localhostIP:8080/webapp, where “localhostIP” is the IP address of my machine, but I can’t. It just times out.
I’ve even installed Apache on the machine, and I’ve set up a reverse proxy in the Apache config file per the following:
ProxyRequests On
Order deny,allow
Deny from all
Allow from 192.168
#Set up reverse proxy for Webapp server
ProxyPass /webapp/ http://localhost:8080/webapp/
ProxyPassReverse /webapp/ http://localhost:8080/webapp/
ProxyPreserveHost On
Again, where “webapp” is the actual webserver that I’m trying to access remotely.
When I try to access this from either a remote, or my local machine, by http://localhostIP/webapp, I get the message: “The requested URL /webapp was not found on this server.”
Any Apache gurus who can tell me what the problem might be? I’ve opened up firewall to both http and https.
[Update Friday morning]
Problem solved. As noted in comments, it was a combination of allowed ports and SELinux.