Aaron Wakefield
Cadet
- Joined
- Jul 12, 2015
- Messages
- 8
So I finally got it to work... I am not sure what the issue was, but when I followed the advice and tried to use the port listed in the .ui_info file it never worked. So finally I changed the port there to the 4243 and modified everything else to follow that port and it worked.
In case anyone else needs to see what my files looked like here they are below...
ui.properties file looks like this:
#Fri Dec 09 09:50:22 CST 2005
serviceHost=192.168.1.2
servicePort=4243
#pollerPeriod=1000
# 1 second
#connectRetryDelay=10000
# 10 seconds
#connectRetryAttempts=3
#showWelcome=true
#font.small=
#font.default=
#font.title=
#font.message.header=
#font.message.body=
#font.tab=
.ui_info file looks like this:
4243,(random letters/numbers)
.ui_info file on server looks like this:
4243,(random letters/numbers)
my.service.xml (Portion)
Looks like this:
<location>0.0.0.0:4242</location>
<helpNovice>INTRO</helpNovice>
<userHome>C:\Users\Andrew</userHome>
<windowsPriorityClass>LOW</windowsPriorityClass>
<windowsPriorityBoost>false</windowsPriorityBoost>
<macIOPriority>IOPOL_THROTTLE</macIOPriority>
<javaMemoryHeapMax>2048m</javaMemoryHeapMax>
<serviceUIConfig>
<serviceHost>0.0.0.0</serviceHost>
<servicePort>4243</servicePort>
<connectCheck>0</connectCheck>
I ran sockstat -l to be sure it was listening on the right ports and it was (see below).
root java 28091 61 tcp4 *:4243 *:*
root java 28091 68 tcp4 192.168.1.2:13464 *:*
root java 28091 74 tcp4 *:4242 *:*
root java 28090 35 stream (not connected)
root java 28090 36 stream (not connected)
root java 28090 61 tcp4 *:4243 *:*
root java 28090 68 tcp4 192.168.1.2:13464 *:*
root java 28090 74 tcp4 *:4242 *:*
root java 28089 35 stream (not connected)
root java 28089 36 stream (not connected)
root java 28089 61 tcp4 *:4243 *:*
root java 28089 68 tcp4 192.168.1.2:13464 *:*
root java 28089 74 tcp4 *:4242 *:*
root java 28088 35 stream (not connected)
root java 28088 36 stream (not connected)
root java 28088 61 tcp4 *:4243 *:*
root java 28088 68 tcp4 192.168.1.2:13464 *:*
root java 28088 74 tcp4 *:4242 *:*
root python2.7 5142 3 tcp4 192.168.1.2:12348 *:*
root syslogd 4828 4 dgram /var/run/log
root syslogd 4828 5 dgram /var/run/logpriv
root syslogd 4828 6 udp6 *:514 *:*
root syslogd 4828 7 udp4 *:514 *:*
I noticed that as the engine goes through upgrade cycle it seems to change the ports the engine is running on. I think mine went from 4243 >> 4255 >> 4288. I ended up editing mine back to the standard 4242 and 4243. One way or another the port you connect to should match the ports listed in the my.services.xml file. Also, I have no idea why the leading 4 digits in the .ui_info file are '4243'. My GUID started with 4243 even though the engine was running on 4255. So, one way or another the leading 4 digits in .UI_INFO do not seem to indicate your port.
A