I am trying to create a http client in macro scheduled script which has to connect to the server which is launched in the same system.
let>s_ip=http://myIp:8989
let>cmdResult=RUNNING
HTTPRequest>s_ip,,POST,result=cmdResult,cmd,,,,
messageModal>cmd
Netstat shows that the server is launched. But i get the message
'404 Error connecting to host'.
Scripting Help
Moderators: Dorian (MJT support), JRL
Try opening a browser window to the address you are using and see what happens.
Usually the network address of your local machine is stated in one of the following ways:
http://127.0.0.1:8989
or
http://localhost:8989