make sure your cgminer is set to accept rpc calls from the network:
the following should be part of your conf file for cgminer:
"api-listen" : true,
"api-network" : true,
"api-port" : "4028",
for some reason i was never able to save my config, so i ended up always running it with all the commands from commandline, but i do have:
--api-listen --api-network
port is optional, if i dont want to change it, right ?
ps: what is the older cgminer that has the api functions ? (i have the latest one on "Z", but the other pcs might have older ones, and "omega" has 2.0.7, which i believe does not support API functions).
ps2: will try disabling my win7 firewall on "Z" now
is the :
Array
(
)
1
at the end, ok ?
EDIT: didnt work

cgminer version 2.1.2 will support the api.
I have never run cgminer from command arguments. after 2 or 3 arguments, seams crazy. And I only put in what I need, mostly use defaults. here is a sample from one of my boxes.
and yes, if your using win7, you have to create a new rule to allow the port call.
{
"pools" : [
{
"url" : "http://us.eclipsemc.com:8337",
"user" : "jjiimm_64_miner14",
"pass" : "pass"
},
{
"url" : "http://test.ozco.in:8332",
"user" : "jjiimm-64.miner14",
"pass" : "pass"
},
{
"url" : "http://192.168.1.100:8332",
"user" : "user",
"pass" : "pass"
}
],
"intensity" : "7",
"gpu-engine" : "800",
"gpu-memclock" : "300",
"gpu-fan": "50-85",
"api-listen" : true,
"api-network" : true,
"api-port" : "4028",
"auto-fan" : true
}