0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【対処法】unable to open tcp connection with host 'localhost:1433': dial tcp [::1]:1433: connectex: No connection could be made because the target machine actively refused it.

Posted at

社内ツールの開発を試みてGoでSQLserverを扱っている公式チュートリアルを進めていたところ、タイトルのエラーに遭遇して少し苦戦しました。その対処法を記事にします。
https://www.microsoft.com/en-us/sql-server/developer-get-started/go/windows/step/2.html

TCPIPを無効から有効に切り替える

sqlserver.png

以下に対処法が書いてありましたが英語なので見逃してしまう方がいるかもと思い記事にしました。
https://community.grafana.com/t/not-able-to-connect-my-ms-sql-server-database-source/12254/17

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?