No, the same error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python38\lib\site-packages\opcua\client\client.py", line 272, in connect
self.connect_socket()
File "C:\Python38\lib\site-packages\opcua\client\client.py", line 297, in connect_socket
self.uaclient.connect_socket(self.server_url.hostname, self.server_url.port)
File "C:\Python38\lib\site-packages\opcua\client\ua_client.py", line 256, in connect_socket
return self._uasocket.connect_socket(host, port)
File "C:\Python38\lib\site-packages\opcua\client\ua_client.py", line 155, in connect_socket
sock = socket.create_connection((host, port), timeout=self.timeout)
File "C:\Python38\lib\socket.py", line 808, in create_connection
raise err
File "C:\Python38\lib\socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it