0

enter image description here

When ever WSO2 ID Server or WSO2 API Manager starts , it always listens to port 9999.. How can i change this port to some other port?

I have tried editing carbon.xml RMIRegistryPort .But no luck..Its still listening to port 9999..

Community
  • 1
  • 1
Janier
  • 3,982
  • 9
  • 43
  • 96
  • 1
    did you edit wso2server.bat file, " listening for transport dt_socket at address" message will get printed when server is stared in debug mode – Jenananthan Dec 28 '16 at 04:12
  • No..I have not edited.Which portion should i check? Because of this I am unable to run API Manager and ID Server in the same machine.. – Janier Dec 28 '16 at 04:33
  • 1
    check JAVA_OPTS , it might have been set in system level so all application will get affected http://stackoverflow.com/questions/17369522/set-default-heap-size-in-windows JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT% – Jenananthan Dec 28 '16 at 04:44
  • Perfect!... it was system level settings...it worked now.. – Janier Dec 28 '16 at 05:01
  • great... I have added the findings as answer, accept the correct answer so it will help other users who face same issue. – Jenananthan Dec 28 '16 at 05:23

1 Answers1

0

"listening for transport dt_socket at address" message will get printed when server is stared in debug mode.

check JAVA_OPTS , debug option[1] might have been set in system level so all application will get affected [2]

[1] JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DE‌​BUG_PORT%

[2] Set default heap size in Windows

Community
  • 1
  • 1
Jenananthan
  • 1,381
  • 2
  • 10
  • 20