I've got go server that listens to port 8154. Port 8153 is blocked.
There was a topic here:
https://groups.google.com/forum/#!searchin/go-cd/ssl/go-cd/tImlyLCYbVQ/a0lCen1m4_gJAnd the guy had the same problem as mine. I red several times and couldn't find the clear understanding, how my agent config should look like.
Now it looks like this
root@x:/etc/default# cat go-agent
GO_SERVER=x.x.x.x
export GO_SERVER
GO_SERVER_SSL_PORT=8154
export GO_SERVER_SSL_PORT
AGENT_WORK_DIR=/var/lib/go-agent
export AGENT_WORK_DIR
DAEMON=Y
VNC=N
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
export JAVA_HOME
I tried:
cat /etc/default/go-agent.backup
GO_SERVER=x.x.x.x
export GO_SERVER
GO_SERVER_PORT=8153
export GO_SERVER_PORT
GO_SERVER_SSL_PORT=8154
export GO_SERVER_SSL_PORT
AGENT_WORK_DIR=/var/lib/go-agent
export AGENT_WORK_DIR
DAEMON=Y
VNC=N
JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
export JAVA_HOME
I tried restarting agent, but still it tries to connect to 8153 port. I've got the same error output as in the topic on a link.