I have two instances of jboss running on the same server with two different ports. ( 8280 & 10580). I am facing issue while downloading a file using wget on Port 10580 , but the file is getting downloaded on the other port.  wget is failing with 404 Not found.  $ wget server1:10580/version.html  --2015-12-21 19:57:28--  http://server1:10580/version.html   Resolving server1... 172.16.3.204   Connecting to server1|172.16.3.204|:10580... connected.   HTTP request sent, awaiting response... 404 Not Found    2015-12-21 19:57:28 ERROR 404: Not Found.Permission on the file is as follows $ ls -l /data/jboss/myapp-a/deploy/myapp.war/version.html-rw-rw-r-- 1 jboss admin 54 Dec 16 11:59 /data/jboss/myapp-a/deploy/myapp.war/version.htmlWas able to access the same file using another instance of jboss in different location with same permission  .$ wget http://server1:8280/version.html--2015-12-21 19:58:28--  http://server1:8280/version.htmlResolving server1... 172.16.3.204Connecting to server1|172.16.3.204|:8280... connected.HTTP request sent, awaiting response... 200 OKLength: 54 [text/html]Saving to: version.html$ ls -l /data/jboss/myapp-b/deploy/myapp.war/version.html-rw-rw-r-- 1 jboss admin 54 Dec 16 11:59 /data/jboss/myapp-b/deploy/myapp.war/version.htmlAny suggestions how to resolve the issue? 
wget failing with 404 File not found
wget;http;jboss