how to get access token if i access from vps

sudip06
sudip06 edited May 2022 in Python client
I have followed instructions as in https://github.com/zerodha/pykiteconnect/blob/master/examples/simple.py. Everyone is saying to give ip as 127.0.0.1, I have given a port number also to it. Now, I want to access this on my vps(ubuntu), how do i get the access token there? please help, as I am completely stuck without it...

from my vps, I have done this:
>>> r=requests.get('http://127.0.0.1:19298/kite-redirect')
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:19298

It looks like its hung there.

I have opened port 19298 on my remote vps

netstat -tlpn| grep :19298
tcp 0 0 0.0.0.0:19298 0.0.0.0:* LISTEN 2222910/nc
Tagged:
Sign In or Register to comment.