☰
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
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.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.