Port Conflict when using with MKS Source Integrity
Dear all,
when I startup my build agent (XPSP2 machine) and then MKS Source Integrity MKS gives me the message: JVM_BIND: Adress already in use.
When I start MKS bevore the build agent everything works fine (until I restart MKS).
The following ports are used when MKS is started (diff to port usage bevore):
TCP :3319 admin-..de:epmap ESTABLISHED
TCP :3320 admin-..de:1025 ESTABLISHED
TCP :3325 cm1-..de:7001 TIME_WAIT
TCP :3321 localhost:31000 TIME_WAIT
TCP :3323 localhost:3324 ESTABLISHED
TCP :3324 localhost:3323 ESTABLISHED
TCP :3326 localhost:3327 ESTABLISHED
TCP :3327 localhost:3326 ESTABLISHED
When I just startup the build agent port 31000 is in use, too. So I think this is the problem. netstat says:
TCP VMBUILD:32000 localhost:31000 ESTABLISHED 904
How can I change this port usage???
Thanks
Please sign in to leave a comment.
Hello,
The port used by TeamCity build agent is specified in buildAgent/conf/buildAgent.properties file.
HTH,
KIR
Ok,
I had to change the HTTP Port of the TeamCity BuildServer to 8080 as MKS uses 80 already. Now it is working.