Discussion:
[jade-develop] platform behind router/firewall
michael dibley
2009-05-13 04:05:40 UTC
Permalink
Hi everyone



I am trying to connect two platforms; the second machine is behind a
router/firewall on a lan (p2). I have configured p2 with the following



java -classpath .\lib\JadeLeap.jar;.\lib\commons-codec\commons-codec-1.3.jar
jade.Boot -gui -name <p2-id> -host <ip_addr_p2>

-mtp jade.mtp.http.MessageTransportProtocol(http:// <ip_addr_p2> /acc)



i configured the router/firewall to pass through port 7778 for the mtp.



As a test I used the 'add remote platform' option on the AMS gui on the
first machine (p1), adding p2, but i get an error



(internal-error "Foreign agent unreachable: No valid address contained
within the AID ams@<p2-id>")))



There are several accounts describing the use of various command line
options such as -jade_http_mtp_proxyHost <hostName> -jade_http_mtp_proxyPort
<portNumber>, -jade_http_mtp_outPort <port number> etc but trying various
options i couldn't get it to work; i'm not sure of the precise usage.



It works the other way around i.e. on p2 i can add remote platform p1.
However the ip address of p1 is an 'exposed' internet address



Could anyone suggest documentation or idea i could try out please?



Best regards

Mike



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://avalon.tilab.com/pipermail/jade-develop/attachments/20090512/d9792f26/attachment.html
Robert Dodier
2009-05-13 04:24:59 UTC
Permalink
On Tue, May 12, 2009 at 3:05 PM, michael dibley
Post by michael dibley
i configured the router/firewall to pass through port 7778 for the mtp.
In the scenario you described, the mtp address has to be the address
of the router, right? From p1, the internal address of p2 is not visible.

A simple test is to try to open a connection to the destination using
telnet or netcat or some other simple program.
Start the platform on p2 and then:

telnet <address of router or whatever> 7778
<type some junk here>

If you can make a connection, you'll get a reponse that says
"Bad request" or something. If you can't make a connection with
telnet, you won';t be able to use JADE either.

HTH,

Robert Dodier
mr.nauman9
2014-07-12 18:28:33 UTC
Permalink
I use telnet to access port on amazon ec2 instance. I got response 406 as
shown in figure attached. Now what should I do? Also on jade platform
running on cloud gave error Jul 12, 2014 6:24:16 PM jade.mtp.http.HTTPIO
readAllWARNING: Malformed POSTThanks in advance



--
View this message in context: http://jade.17737.x6.nabble.com/platform-behind-router-firewall-tp4705799p5002640.html
Sent from the JADE - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jade.tilab.com/pipermail/jade-develop/attachments/20140712/12d2436d/attachment.html>
Continue reading on narkive:
Loading...