Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I have literally tried everything, from enabling named pipe to adding exception to ports in the firewall, to everything possible in surface configuration. I can connect to the SQL instance(using TCP and Named Pipes) with SQL Server Management Studio. But sqlcmd throws an error:

Login timeout expired


share|improve this question
you might find this useful: stackoverflow.com/questions/9945409/… –  bummi Feb 25 '13 at 11:24
is port 1433 open? –  mnemonic Oct 10 '13 at 8:22

1 Answer 1

You didn't give us a lot of detail, but this article covers most of the basics: http://msdn.microsoft.com/en-us/library/ms190181(v=sql.105).aspx

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.