Mohit S. wrote:
Matt Lawson wrote:
Any suggestions Mohit?
(resend - I recd an error when I sent the mail the first time. Sorry if
you receive multiple copies)
Morning, Matt! Where is the database that you’re trying to reach? It
appears to me that your database is not running on the same PC as
InstantRails. So what seems to be happening is that your corporate
firewall is blocking Rails from accessing the database server. For
example, for MySQL, Ruby (Rails) typically needs to access port 3306.
It seems that your corporate firewall is blocking that. If that’s the
case, you probably need your IT guys to allow Ruby to access the remote
database server using the port.
Perhaps someone else can be of help?
Yes I am accessing a remote database through an API (basecamp actually).
When i try to run the application, i see the following ports being
Proto Local Address Foreign Address State
TCP 127.0.0.1:1416 127.0.0.1:3000 TIME_WAIT
TCP 127.0.0.1:3000 127.0.0.1:1415 TIME_WAIT
TCP 127.0.0.1:3000 127.0.0.1:1417 TIME_WAIT
TCP 127.0.0.1:3000 127.0.0.1:1418 TIME_WAIT
TCP 127.0.0.1:3000 127.0.0.1:1419 TIME_WAIT