Service Virtualization

  • 1.  Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 01:45 AM

    Hi Friends,

    I am using DevTest Portal -9.

     

    I have created the virtual service and deployed in VSE dashboard.

    Ex:

    Virtual Service Name: DevTest

    Port#: 12345

    IP:10.321.123.42

    I deleted the DevTest recorder from the VSE dashboard unknowingly.

     

    So what happens now, Am not able to deploy the virtual service since am getting the alert prompt "Address already in use:JVM_Bind:Please choose different port number".

     

    Also am facing the same issue when trying to create the new virtual service with the same port#(12345).

     

    Have submitted firewall request for the port#(12345).

     

    I want to use this same port# for my validation.

     

    Could you please anyone help me.



  • 2.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 03:08 AM

    Try restarting all of your DevTest components



  • 3.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 07:33 AM

    Thanks for your comments



  • 4.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 04:13 AM

    (On Windows) run netstat -a -b -o and find the process and the process id of the process/service that is listening on the port. Stop or Restart the service.



  • 5.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 05:57 AM

    Could you please give me some deialed information..

     

    Actually in Run, i have given "netstat -a -b -o" and clicked enter button. There is a window opened and getting closed within a second..



  • 6.  Re: Address already in use:JVM_Bind:Please choose a different port
    Best Answer

    Posted Sep 22, 2016 06:01 AM

    Well, to be more accurate: On Windows, open a command prompt and execute the command 'netstat -a -b -o' ...



  • 7.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 06:28 AM

    Hi Ulrich vogt,

     

    1) Opened cmd

    2) typed netstat -a -b -o

     

    resultThe requested operation requires elevation

    Am getting  the message as outcome "The requested operation requires elevation".



  • 8.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 06:35 AM

    This means you need to be a Windows user with administrative privileges to execute the command. Try and open the command prompt as an administrator ('Run as administrator') and execute the command, again. If you do not have this privilege, try and ask a team mate, who has this privilege.



  • 9.  Re: Address already in use:JVM_Bind:Please choose a different port

    Posted Sep 22, 2016 06:46 AM

    Am getting the same message "The requested operation requires elevation" when i tried with Run as Administer..I guess i don't have access to do it.

    I will check with my teammates and let you know the update.

     

    Thanks for your support Ulrich_Vogt