Note that there are some explanatory texts on larger screens.

plurals
  1. POUnable to access Http server from external ip even when HTTP server binds on all ips
    primarykey
    data
    text
    <p>I am running a HTTP server (tomcat embeddable in jboss) on machine A.<br> I am trying to send a HTTP request from machine B to machine A and this does not work.<br> But if I send HTTP request (wget) from machine A to itself (localhost) I get a response. </p> <p><strong>From machine A (ssh):</strong> </p> <p>** tcp ports (listen) **<br> <code> tcp 0 0 0.0.0.0:8181 0.0.0.0:* LISTEN 20306/java<br> </code> </p> <p>** process info: **<br> <code> ubuntu@domU-12-31-39-09-22-35:/tmp$ ps -ef | grep jboss ubuntu 20256 17584 0 23:13 pts/2 00:00:00 /bin/sh ./run.sh -Djboss.service.binding.set=ports-01 -b 0.0.0.0<br> ubuntu 20306 20256 10 23:13 pts/2 00:02:16 java -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:./logging.properties -Djava.library.path=/home/ubuntu/jboss-6.1.0.Final2/bin/native/lib -Djava.endorsed.dirs=/home/ubuntu/jboss-6.1.0.Final2/lib/endorsed -classpath /home/ubuntu/jboss-6.1.0.Final2/bin/run.jar org.jboss.Main -Djboss.service.binding.set=ports-01 -b 0.0.0.0</p> <p></code></p> <p><strong>Connecting to the same machine:</strong> <br /> <code> ubuntu@domU-12-31-39-09-22-35:/tmp$ wget <a href="http://localhost:8181/timesheet/admin" rel="nofollow">http://localhost:8181/timesheet/admin</a><br> --2012-02-01 23:19:28-- <a href="http://localhost:8181/timesheet/admin" rel="nofollow">http://localhost:8181/timesheet/admin</a> Resolving localhost... 127.0.0.1 Connecting to localhost|127.0.0.1|:8181... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: localhost:8181/timesheet/admin/ [following] --2012-02-01 23:19:28-- localhost:8181/timesheet/admin/ Connecting to localhost|127.0.0.1|:8181... connected. HTTP request sent, awaiting response... 200 OK Length: 6041 (5.9K) [text/html] Saving to: `index.html.2'</p> <p>100%[==============================================================================================================================>] 6,041 --.-K/s in 0s</p> <p>2012-02-01 23:19:35 (250 MB/s) - `index.html.2' saved [6041/6041] </code></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload