django-private-chat
django-private-chat copied to clipboard
failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
- django-private-chat version:
- Django version: 2.2
- Python version: 3.7
- Operating System: Instance of AWS server
Description
I have a project in production and I already made the devil but when i enter the chat it comes out failed: Connection establishment failed: net :: ERR_CONNECTION_REFUSED
the question is that I have the stage like this
CHAT_WS_SERVER_HOST = '0.0.0.0' CHAT_WS_SERVER_PORT = 8080 CHAT_WS_SERVER_PROTOCOL = 'wss' SESSION_COOKIE_AGE = 12096000
What I Did
if in chat ws_server_host I put the ip of the aws server it gives me an error of address bone that I cannot use it
error while attempting to bind on address ('34. *. *. * ', 8080): cannot assign requested address
and obviously when trying to copy I get WebSocket is already in CLOSING or CLOSED state.
I have tried various solutions but I resort here. I hope for a reply soon, thanks for your help.
Have you found a solution? I am facing the same issue.
Any solutions?