Scripting Help

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
aks
Newbie
Posts: 18
Joined: Wed Oct 15, 2008 8:54 am

Scripting Help

Post by aks » Thu Nov 06, 2008 4:05 pm

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'.

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Tue Jun 15, 2010 7:27 pm

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

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts