☰
Login
Signup
Home
›
Java client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
9.1K
All Categories
9
Go client
537
.Net API client
230
Kite Publisher
473
.Net / VBA / Excel (3rd party)
288
Algorithms and Strategies
719
Java client
677
API clients
331
PHP client
2.3K
Python client
264
Mobile and Desktop apps
992
Market data (WebSockets)
2.3K
General
In this Discussion
December 2016
Vivek
Connection refused while sending POST request.
manish181192
December 2016
in
Java client
Hi Guys,
I am currently creating my application on localhost. I have mentioned my Redirect URL :
https://127.0.0.1:80
.
Once i log in using
https://kite.trade/connect/login?api_key=
.
It is redirecting me to
https://127.0.0.1:80/?status=success&request_token=
. But the browser shows "CONNECTION REFUSED".
In code when a POST request is sent in requestAccessToken method. code shown below.
UserModel userModel = kiteconnect.requestAccessToken("",
"");
I am getting a "CONNECTION REFUSED ERROR".
Is there any checklist i need to abide before writing code.
Tagged:
java
connection
refused
initialization
Vivek
December 2016
@manish181192
Please check this thread -
https://kite.trade/forum/discussion/865/how-to-get-request-token-when-the-redirect-url-is-http-127-0-0-1
Sign In
or
Register
to comment.