Network.Request https or http ?

Why does an http request attempt to make an https connection?

Isn’t SSL all about https?

I’ve never seen this before, but then I’ve never tried to call an http server running on localhost from simulator before…

Am I going insane?
 

    network.request( "http://localhost:5002/getinstructions", "GET", function(event)                          print ("HELLO")                          if ( event.isError ) then                 U.error("ERROR in getinstructions call: "..event.response)                 return             end...

HELLO ERROR in getinstructions call: An SSL error has occurred and a secure connection to the server cannot be made.

changed localhost for 127.0.0.1 and worked.

changed localhost for 127.0.0.1 and worked.