使用 TCP IP 连接到 Parse?
Connecting to Parse using TCP IP?
我们有一个 Parse
服务器 (Parse.com
),我们想使用 rest API
从硬件设备向其中写入数据
硬件设备正在使用 TCP
连接向服务器发送数据。
发送数据时我们必须设置的是:
"TCP","184.xxx.xxx.xxx",80 (the ip of the server)
现在,我如何知道我们的应用程序的 ip 是什么,以便连接到它并发送数据?
我试过了:
"TCP","https://api.parse.com",80
得到DNS failed
..
也尝试使用端口 443 出现同样的错误。
解决方法:
"TCP","api.parse.com",443
我们有一个 Parse
服务器 (Parse.com
),我们想使用 rest API
从硬件设备向其中写入数据
硬件设备正在使用 TCP
连接向服务器发送数据。
发送数据时我们必须设置的是:
"TCP","184.xxx.xxx.xxx",80 (the ip of the server)
现在,我如何知道我们的应用程序的 ip 是什么,以便连接到它并发送数据?
我试过了:
"TCP","https://api.parse.com",80
得到DNS failed
..
也尝试使用端口 443 出现同样的错误。
解决方法:
"TCP","api.parse.com",443