problem description
the project supports http and https access. WebSocket can be accessed by either ws or wss. Wss must be accessed by domain name, otherwise it cannot be accessed without IP,.
the environmental background of the problems and what methods you have tried
looked up the difference between domain name access and IP access. Domain name access is one more step of domain name resolution than IP access, but the final access is IP.
related codes
/ / Please paste the code text below (do not replace the code with pictures)
none
what result do you expect? What is the error message actually seen?
I don"t understand the principle of. I hope someone can answer it.