# Connection Refused~~Please help

**URL:** <https://www.ruby-forum.com/t/connection-refused-please-help/125096>\
**Category:** Ruby\
**Created:** [January 5, 2008, 10:39am UTC](https://www.ruby-forum.com/t/connection-refused-please-help/125096 "2008-01-05T10:39:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sim9739](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@sim9739](https://www.ruby-forum.com/u/sim9739)\
**Post date:** [January 5, 2008, 10:39am UTC](https://www.ruby-forum.com/t/connection-refused-please-help/125096/1 "2008-01-05T10:39:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sim9739](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@sim9739](https://www.ruby-forum.com/u/sim9739)\
**Post date:** [January 6, 2008, 6:37am UTC](https://www.ruby-forum.com/t/connection-refused-please-help/125096/2 "2008-01-06T06:37:30Z")

</div>

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.
