Connection Refused~~Please help

Hi all,

I am new to ruby.
i have a problem when i type rake in terminal.
It shows:
rake aborted!
Connection refused - connect(2)
i found that the error is from net/http.rb - TCPconnection
I guess the error occur due to not able to open a port or connect to
port 9000.
Does anyone have any idea to fix this problem?

Thanks

Sim

Check your firewall(s).
Verify that the server is up – try from another location (remote
shell, for instance.)
You may be able to use a proxy or other tunnel setup.