Moving to InDesign Server forum
In the Extendscript application, you have to choose the InDesign server version that is running.
Quite possible you have "ExtendScript Toolkit CC" in the leftmost dropdown.
Make sure you select the InDesign server version that is running and then execute your script.
When I select the InDesign Server CC from the drop down I get a pop up that "Waiting..." and the pop up remains.Is there any setting need to be changed on the ExtendScript?
No, there is no setting to be done in Extendscript.
Make sure you have started InDesign server already and it is running.
Open up Extendscript, and check your server instance should be running.
Extendscript allows you to launch application if not already launched. Better don't opt for this.
So, let the InDesign server up and running and then open extendscript.
Is there any specific port you are running indesign server? If yes, you will see an item in dropdown with that port number specified.