Localhost refused to connect - Auth Code Error

Been following the instructions at: Authenticating with the Twitch IRC Server | Twitch Developers
and Register Your App | Twitch Developers

my problem is that when i try to enter “https://id.twitch.tv/oauth2/authorize?response_type=code&client_id=IHIDTHISBITFORTHISEXAMPLE&redirect_uri=http://localhost:3000&scope=chat%3Aread+chat%3Aedit

i simply get an error response “localhost refused to connect”, tried 4 separate browsers all signed into the same account im using to make the bot on. The attached screenshot is the oauth thing from the “manage applications”. i just set it to localhost because i don’t know what else i would have made it, and needed to enter something to even get this far. i’ve never messed with proxy’s or port forwarding stuff or anything like that, so i don’t know if i need to do that and open that 3000 port

This indicates there is no server or process running at port 3000

If there is no server running at http://localhost:3000 there is no server to capture the code and do the oAuth exchange.

No proxy or port forward is requried for localhost, generally speaking

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.