runsikulix.cmd -s can't change port

Asked by zhchaoxing

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

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.