it's still not working
I don't know if this is wrong
Might be. Especially if you are trying to run the miner one one PC and bitcoin on another.
Add these lines:
rpcallowip=127.0.0.1
rpcallowip=192.168.1.*
If your network is on a different subnet, change the 192 to the appropriate IP's and try again. As booklover mentioned, are you running bitcoin with the -server flag? If your are just opening the bitcoin gui, that is part of the problem. You either need to run bitcoind.exe or add the -server flag to the bitcoin shortcut.
but the way I set up mine was by setting the miner(the computer not the application) to a static ip address
and putting the following code in the bitcoin.conf file:
rpcallowip=miner's static ip*
Just for clarification I mean the ip(192.168.1.20)ex NOT the words.