Running bitcoind on VPS, won't speak to my web server I have a VPS with bitcoind set up, synced the blocks and its all running fine. I have set up the bitcoin.conf file and allowed the IP of my web host server.

I am running a script on my web host that communicates to the wallet but it just won't connect! 

Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to http://INVENT_A_UNIQUE_USERNAME:INVENT_A_UNIQUE_PASSWORD@VPSIP:8333/' in /home/1234/public_html/gm/install/driver_test.php:61 Stack trace: #0 /home/1234/public_html/gm/install/index.php(16): jsonRPCClient-&gt;__call('getbalance', Array) #1 /home/1234/public_html/gm/install/index.php(16): jsonRPCClient-&gt;getbalance() #2 {main} thrown in /home/1234/public_html/gm/install/driver_test.php on line 61


Any suggestions? I have run out of ideas.
It looks like you are using the wrong port. The RPC server listens on port 8332 by default, so try that. Port 8333 is for bitcoin node traffic.