Errors Connecting to Bitcoind Server with RPC
Bitcoin disallows rpc requests from IP addresses other than 127.0.0.1 Try adding 

rpcallowip=&lt;your ip addres&gt; 

to your bitcoin configuration file. 

More info