Python + Flask Application - ConnectionRefusedError: [Errno 111]

Turns out it was the port. The twitch-python library is set to 6667. I went into the lib and changed it to 80 and the messages are coming in now just fine. Now I need to figure out how to get my sockio to work T_T. Thanks for the help.