{"id":36092,"date":"2011-08-18T15:54:40","date_gmt":"2011-08-18T23:54:40","guid":{"rendered":"http:\/\/www.transterrestrial.com\/?p=36092"},"modified":"2011-08-19T09:13:12","modified_gmt":"2011-08-19T17:13:12","slug":"web-server-bleg","status":"publish","type":"post","link":"https:\/\/www.transterrestrial.com\/wordpress\/2011\/08\/18\/web-server-bleg\/","title":{"rendered":"Web Server Bleg"},"content":{"rendered":"<p><strong>Geek Alert<\/strong> for this post.<\/p>\n<p>I&#8217;m running a web server app on my computer, which I can address by http:\/\/localhost:8080\/webapp, where &#8220;webapp&#8221; is the app.<\/p>\n<p>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 &#8220;localhostIP&#8221; is the IP address of my machine, but I can&#8217;t.  It just times out.  <\/p>\n<p>I&#8217;ve even installed Apache on the machine, and I&#8217;ve set up a reverse proxy in the Apache config file per the following:<\/p>\n<blockquote><p><IfModule mod_proxy.c><br \/>\nProxyRequests On<\/p>\n<p><Proxy *><br \/>\n    Order deny,allow<br \/>\n    Deny from all<br \/>\n    Allow from 192.168<br \/>\n<\/Proxy><\/p>\n<p>#Set up reverse proxy for Webapp server<\/p>\n<p>ProxyPass \/webapp\/ http:\/\/localhost:8080\/webapp\/<br \/>\nProxyPassReverse \/webapp\/ http:\/\/localhost:8080\/webapp\/<br \/>\nProxyPreserveHost On<\/p><\/blockquote>\n<p>Again, where &#8220;webapp&#8221; is the actual webserver that I&#8217;m trying to access remotely.<\/p>\n<p>When I try to access this from either a remote, or my local machine, by http:\/\/localhostIP\/webapp, I get the message: &#8220;The requested URL \/webapp was not found on this server.&#8221;<\/p>\n<p>Any Apache gurus who can tell me what the problem might be?  I&#8217;ve opened up firewall to both http and https.<\/p>\n<p>[Update Friday morning]<\/p>\n<p>Problem solved.  As noted in comments, it was a combination of allowed ports and SELinux.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Geek Alert for this post. I&#8217;m running a web server app on my computer, which I can address by http:\/\/localhost:8080\/webapp, where &#8220;webapp&#8221; 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 &#8220;localhostIP&#8221; is the IP address of my machine, &hellip; <a href=\"https:\/\/www.transterrestrial.com\/wordpress\/2011\/08\/18\/web-server-bleg\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Web Server Bleg<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,3,18],"tags":[],"class_list":["post-36092","post","type-post","status-publish","format-standard","hentry","category-administrative","category-technology-and-society","category-weird"],"_links":{"self":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/36092","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/comments?post=36092"}],"version-history":[{"count":2,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/36092\/revisions"}],"predecessor-version":[{"id":36109,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/36092\/revisions\/36109"}],"wp:attachment":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/media?parent=36092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/categories?post=36092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/tags?post=36092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}