Skip to content

Timeout Error while trying to fetch the Active Discovery Session using Modeler(). How to find the right port for the active session of Discovery. #2093

Answered by b-matteo
Abhijith022 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Abhijith022, @RobPasMue

so let's assume you want to start ApiServer in Discovery on localhost and port 50051.
To do so you have to use specific arguments to start Discovery.
If you installed the 2025.2 (earlier versions work as well back to 2023.2 version) Ansys products in the default folder:

*C:\Program Files\ANSYS Inc\v252*

in that case, the ApiServer binaries should be in
C:\Program Files\ANSYS Inc\v252\Addins\ApiServer

and Ansys Discovery installation folder in
C:\Program Files\ANSYS Inc\v252\Discovery

then to start Ansys Discovery with ApiServer you need this command:

"C:\Program Files\ANSYS Inc\v252\Discovery\Discovery.exe" /API_ADDRESS=127.0.0.1 /API_PORT=50051 --spaceclaim-op…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@b-matteo
Comment options

Answer selected by Abhijith022
@RobPasMue
Comment options

@Abhijith022
Comment options

@RobPasMue
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants