Skip to content

A Communication Issue Perhaps? #3152

Answered by germa89
Ahmed-Zeid asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jorisparet

Couple of things... the easiest first:

The following code:

from ansys.mapdl.core import Mapdl

Mapdl(port=50052)

Does not start MAPDL, it just try to connect to it at the given port. That's why it shows the MapdlConnectionError. You should try to use either launch_mapdl or start MAPDL manually.

Regarding the other issue, it seems that there is a conflict with the port. Maybe something was running at a given port, but it died before we could really workout what kind of process it was.

You could try to set port=None, that will bypass the port check so we can see if the rest of the library works. Once we have that running, we can see what is the next step but I envision I mig…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@germa89
Comment options

Answer selected by germa89
@jorisparet
Comment options

@germa89
Comment options

@jorisparet
Comment options

@germa89
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