W5500 and stm32 connection circuit_[STM32+W5500] 22, W5500 failed to connect to an external server,
W5500 and stm32 connection circuit_[STM32+W5500] 22, W5500 failed to connect to an external server, such as ONENET
3
Project description
1,W5500连接外部服务器ONENET失败,主要是IP地址错误,推荐使用IP 183.230.40.34 ,端口80

2,在ONENET官网上面,可以看到服务器的IP地址为 ONENET
HTTP服务器地址域名为:jjfarfapi.heclouds.com 端口号为80,
jjfarfapi.heclouds.com >> 183.230.40.34




3, 与平台HTTP服务器建立HTTP连接,服务器URL:api.heclouds.com 端口号:80
api.heclouds.com >> 183.230.40.33

4,实际使用情况是这样的,
当ONENET的服务器IP地址为183.230.40.33 时候,HOST的URL为:strcat(pkt, "Host:jjfarfapi.heclouds.comrn");


当ONENET的服务器IP地址为183.230.40.34 时候,HOST的URL为:strcat(pkt, "Host:api.heclouds.comrn");