If I try to connect to plex it just says error 401 StatusCode=Unauthorized. For username and password I have used my Plex account details. It succeeds in retrieving the token.
Any help is much appreciated.
EDIT: Mod in chat alerted me to the fact that I had to use 32400 as the port despite connecting from 31400 in a browser. Thanks!