← Back to team overview

sikuli-driver team mailing list archive

[Question #284448]: runsikulix.cmd -s can't change port

 

New question #284448 on Sikuli:
https://answers.launchpad.net/sikuli/+question/284448

The first time I tried runsikulix.cmd -s gives me:

[info] RunServer: Starting: trying port: 50001
[error] RunServer: Starting: Address already in use: JVM_Bind
[error] RunServer: could not be started

So I followed  -s,--server <[port (50001)]>            run as server on optional port
and tried runsikulix.cmd -s port 50011

C:\SikuliX>C:\SikuliX\runsikulix.cmd -s port 50011
+++ running this Java
java version "1.8.0_71"
Java(TM) SE Runtime Environment (build 1.8.0_71-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikulix.jar -s port 50011
[info] RunServer: Starting: trying port: 50001
[error] RunServer: Starting: Address already in use: JVM_Bind
[error] RunServer: could not be started

Apparently it did not take the new port. Then I tried runsikulix.cmd --server port 50011

C:\SikuliX>C:\SikuliX\runsikulix.cmd --server port 50011
+++ running this Java
java version "1.8.0_71"
Java(TM) SE Runtime Environment (build 1.8.0_71-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.71-b15, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikulix.jar --server port 50011
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)

and the GUI IDE starts to launch, I don't think this is suppose to happen in server mode.

Has any tried to change the port in server mode? Any help is appreciated.

Thanks,
Hal


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.