B4J Question B4J-Bridge Multiple-Connections

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi,

seeking for a way to connect multiple clients (developing b4j server applications) to one or more b4j-bridges running on a Raspberry Pi. Each client should be able to upload their www folder to the respective b4j-bridge tempjars folder to test their server applications.

Have tried to start multiple terminal sessions each running the b4j-bridge.
Each bridge gets a dedicated port but it seems the bridges share the same tempjar folder and therfore only one www folder and one asyncinput file can be created. The last B4J made connection is used.

Question: Any advice on how to setup multiple b4j-bridge connections on the same server?
 

rwblinn

Well-Known Member
Licensed User
Longtime User
Hi Erel,

look at the pic. Several B4J-Bridges are running on the server in dedicated terminal sessions.
Each bridge has its own port (as given after starting the bridge), but how to connect the student running their B4J to the assigned B4J-Bridge?
Have tried to connect from the B4J IDE by adding the port to the Bridge IP, but an error occurs "invalid address.

upload_2015-9-11_14-54-2.png
 
Upvote 0
Top