🇺🇦 Stand with Ukraine — how to help

writing / 2011

TinyTds::Error: Unable to open socket (Sequel::DatabaseConnectionError)

16·06·2011 · 1 min read · originally on vertis.io

While working on one of our rails apps at work, I got the following error. Since we only recently switched to using TinyTds, I wasn't quite sure what the cause was. It turns out that in my case I'd switched the VM I run SQL Server on from 'Host only' to 'Bridged'. So the driver couldn't connect to the port.

When in doubt:

telnet hostname 1433