I am Using the Spidermonkey library and it works when on the same computer. I can start the server and client and they work when on the same box.
I am now trying to connect a client box to the server and it just hangs and then Timesout (java.net.connection).
NOTE: both boxes are on my home network
NOTE: On the client box I can ping the server from a command prompt and it connects
NOTE: I setup a Tomcat server on the server box and my client can connect to that.
NOTE: I am using VM args to fill in address : ports -Dserver.address=“192.168.0.108” -Dserver.port=“5110” and a sout spits the values out correctly when the client starts so I think it is has the right server ip and port.
NOTE: I believe I am only using TCP
Question: Do I need to set a windows firewall rule. If so which way and which box?
I tried setting Inbound TCP on the Client for port 5110 and outbound TCP on the server… but still no luck
I get Exception in thread “main” com.jme3.asset.AssetNotFoundException
NOTE: There is an assets.jar file in the lib folder
If the DinoWorld.jar was built with the JME SDK then you don’t need that as it will have embedded a relative classpath into the jar for all of the libs.
As to your other, see if you can connect to the port from the client machine. I don’t know if windows 8 still has a telnet command but that’s the easiest way. Telnet to the port and see if it connects or refuse the connection.
Impossible to tell without seeing your code. If you’ve done nothing special to avoid it then SpiderMonkey will automatically setup a UDP channel. Make sure your server’s firewall has the port open for UDP and TCP.