MAKE WEB REQUEST not working

Hi,

I am making a web request on sensor data callback and sending it to my local proxy server for analysis. But it works on simulator and not works on the real device and we get code -300 and if I do a test network connection in the app it works somehow when connects to the network.

It is an HTTP server do I need an HTTPS server and if yes which signing do I use?

(:background)
    private function makeRequestsensorData(sensorInfo as Info) as Void {
        var heartRate = sensorInfo.heartRate;
        var o2 = sensorInfo.oxygenSaturation;
        // var now = new Time.Moment(Time.now().value());
        // Communications.checkWifiConnection(connectionStatusCallback);
        var options = {
            :responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_TEXT_PLAIN,
        };
       
        var url = "">192.168.7.164:18000/params+heartRate.toString()+"&foo=100&Oxygen="+o2.toString();
        Communications.makeJsonRequest(
            url.toString(),
            null,
            options,
            method(:onReceive)
        );
        System.println(url.toString());
    }