Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

dns - how can i fix websocket connection?

  • it's vps from vultr, i disabled firewall from vultr.
  • also disabled anti ddos.
  • and disabled ufw, iptables from host.
  • still wont connect to 523(websocket secure's port), but it connectable to 443(https)

i using c++ uWebSocket for wss
and i using nodejs's https for https
some clients working greatly but some clients doesn't
how can i fix this? also sry for my bad q and english.

Client.js:82 WebSocket connection to 'wss://(private).kr:523/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT
////////////////////////
     4 probes sent.
     0 successful, 4 failed.  (100.00% fail)
Was unable to connect, cannot provide trip statistics.

+ i got SYN_RECV sometimes. maybe it's failure?

+ i can't connect to my site now. [21/02/17yymmdd 21:40 KST] i ping to my site, i got my ip. but host ip is not mine.
the weird thing, other people's tcping looks not theirs.
ipconfig /flushdns not works, dns edit to cloudflare not works.
so i tried connect to host ip, it works.
and also, fixed now [21/02/18yymmdd 9:40 KST]
if websocket and https site has same address, how can i get https respond?

question from:https://stackoverflow.com/questions/65923009/how-can-i-fix-websocket-connection

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...