Connection to server failed (1006)

I can’t answer without seeing the code.