I am trying to connect to the Planetside 2 api in Python. I can poll ps2/characters_event no problem. But I can't seem to connect to the websocket server, as I am not sure what port to use (I think). So what port does the Planetside 2 API use? currently I have this (the relevant part anyway): Code: import socketimport timePS2 = socket.socket()PS2.connect(('wss://push.planetside2.com/streaming?service-id=s:example',6667))while 1: time.sleep(1) print PS2.recv(2048) and I get this error: Code: Traceback (most recent call last): File "C:/Users/Slidedrum/Desktop/py/api.py", line 4, in <module> PS2.connect(('wss://push.planetside2.com/streaming?service-id=s:example',6667)) File "C:python27libsocket.py", line 224, in meth return getattr(self._sock,name)(*args)gaierror: [Errno 11004] getaddrinfo failed Any help would be appreciated, thanks.