the url you are using to connect to the pool that must be working and workers username and passwords must be registered on the same pool
as you are using btcguild then you must enter this stratum.btcguild.com:3333 as your stratum so your username and password can connect your miner on btcguild pool to start mining. so the mistake you are making is replace your localhost and port with this and try again it will start working the method which you have read to start ming is for eligius i think well try this and i hope it will be working.
ping me on skype if you any questions x.c0der