Hello all,
I am trying to connect to TG on premise instance through pytigergraph, but getting the below error. I am sharing the code i am running as well.
#conn = tg.TigerGraphConnection(host=hostName, username=userName, password=password, graphname=graphName,gsPort=gsPort, gsqlSecret=gsqlSecret)
print(conn)
print(conn.getToken(gsqlSecret))
Output:
<pyTigerGraph.pyTigerGraph.TigerGraphConnection object at 0x0000019CDB019700>
HTTPConnectionPool(host=’’, port=9000): Max retries exceeded with url: /requesttoken?secret= (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x0000019CDB16F140>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it’))