Jump to content

Brickd - remote PC


Johnny

Recommended Posts

Hi,

 

ich hab da mal ein Problem mit der Remoteverbindung einer Applikation auf den BrickD eines anderen Rechners. Der Aufbau wäre:

 

TF_Hardware <--> Rechner A <--> VPN <--> Rechner B

 

Mit dem BrickV auf Rechner B kann ich auf das Ganze zugreifen, weshalb ich Firewall und CO ausschließe. Muss also was in meinem Code sein. Ich würde mich freuen, wenn ihr mir hier helfen könntet:

            /* CREATE CONNECTION */
        	IPConnection ipcon = new IPConnection(); // Create IP connection
        	System.out.println( "- init connection" );

            /* CREATE DB CONNECTION */
            	new HWD_DB();
            	System.out.println( "- read xml file" );
            	
    /* SETUP CONNECTION */
        ipcon.connect( HWD_Main.host, HWD_Main.port ); // Connect to brickd
        System.out.println( "- connect brickd-deamon" );

 

HWD_Main wäre der Hostname (IP wie auch DNS Name)

HWD_Port ... naja der Port eben ;)

 

Ich bekomme aber direkt ein Timeout aus dem Java.

 

Danke und Gruß

J

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...