ExternalInterface: Could not open socket

I used EnergyPlusToFMU to create FMUs for the example files that comes with it. I'm using PyFMI to run the simulation. Every time I get the following error ExternalInterface: Could not open socket. File descriptor = -1. The utilSocket.log file shows that sockets are being opened but errors occur when trying to connect to them. Socket opened, sockfd = 348. Error when connecting to socket: WSAGetLastError = 10013.

Jeremy's avatar
1.6k
Jeremy
asked 2019-08-23 19:28:15 -0500
shorowit's avatar
11.8k
shorowit
updated 2019-08-27 09:58:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

I tried a different computer and go it to work on the first try. Could this be due to permission issues? I found this post which mentions having a local IP specified in the .cfg file instead of username, mine includes the computer name.

Jeremy's avatar Jeremy (2019-08-26 19:26:53 -0500) edit
add a comment see more comments