同样代码在模拟器能正常连接websocket,运行到真机上就无法连接了,是什么问题?
真机是oppoR11,请问一下这是什么问题?
2 回复
socket地址wss://junzhifou.com/webSocket/Bearer ZXlKaGJHY2lPaUpJVXpVeE1pSjkuZXlKemRXSWlPaUp2UkRkamNEUTRhRmxHY0hNdE1WZEhabWd5YVU5UE1YUTVVVmhCSWl3aWFYTnpJam9pWldOb2FYTmhiaUlzSW1WNGNDSTZNVFU1TVRJd01UTXhNU3dpYVdGMElqb3hOVGt3TlRrMk5URXhMQ0p5YjJ3aU9pSlZVMFZTWDFKUFRFVWlmUS5kWHFmcy14ZnNGRkd4MFFpd09CSnI5Zm95YVNvTlk4cndtTWtEa3BpUWlaZ3JPdUdyenpYdUtYa2xPZVpoQmZBQm1zWWcwUmV4cjZ1TEpLWGtLSG1Vdw==
web能正常连接,模拟器也可以,用手机测试就连不上