diraq-sea / diraq_desktop

🎛 DiraQ desktop application
1 stars 0 forks source link

Nuxt.js のアップデートにともなう ngrok の接続エラーの修正 #154

Closed hi85gh closed 5 years ago

hi85gh commented 5 years ago

Nuxt.js2.6.1 から 2.8.1 へアップデートすると ngrok を経由してローカルのサーバーを見ることができない。
ngrok.connect(+WINDOW_ORIGIN.split(':').pop()) で取得した URL にアクセスするとブラウザに以下のエラーが表示。

Failed to complete tunnel connection
The connection to https://b4710b2b.ngrok.io was successfully tunneled to your ngrok client, but the client failed to establish a connection to the local address localhost:80.

Make sure that a web service is running on localhost:80 and that it is a valid address.

The error encountered was: dial tcp [::1]:80: connect: connection refused
hi85gh commented 5 years ago

ngrok は起動できており localhost:80 に接続できないのが原因のようなので修正

hi85gh commented 5 years ago