Replies: 1 comment 1 reply
-
|
Could you check the ip address written out in server_info-4123854.txt? If Fluent is being run on the local machine, either the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to connect to a running Fluent session (2025R2). Therefore I have started a web server in Fluent and received the following message in the Fluent terminal:
Web server started at {'http://xx.xx.xx.xx:5000'}
(Note - Some of the URLs might not connect depending on the network setup.)
As a second step I want to connect to the Fluent session in pyFluent using the following code:
solver_connected = pyfluent.Solver.from_connection(ip='http://xx.xx.xx.xx:5000', port=5000)
With that I got the error massage:
result = sock.connect_ex((ip, port))
socket.gaierror: [Errno -2] Name or service not known
As this did not work, I have tried the second way:
I have started a GRPC server in the Fluent console by:
start-grpc-server
Enter filename which will store the server information ["server_info-4123854.txt"]
Information: The server has started and is running.
I tried to connect to the session in pyFluent:
solver_session = pyfluent.connect_to_fluent(server_info_file_name=server)
Here I got the error message:
ValueError: Connecting to remote Fluent instances is not allowed. Set 'allow_remote_host=True' to connect to remote hosts.
Can someone help me with connectiong to a running Fluent session?
Beta Was this translation helpful? Give feedback.
All reactions