Sign up ×
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

closed as unclear what you're asking by Paul White, Max Vernon, Michael Green, Colin 't Hart, dezso Aug 1 at 14:21

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

you might find this useful:… –  bummi Feb 25 '13 at 11:24
is port 1433 open? –  mnemonic Oct 10 '13 at 8:22
you need more detail in your question. Please add the sqlcmd command line you used, along with how you are connecting in SSMS. Something is clearly different about how you are specifying the server name, etc. –  Max Vernon Aug 1 at 9:53

1 Answer 1

You didn't give us a lot of detail, but this article covers most of the basics:

share|improve this answer

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