YigtyORG / CocoaLogViewer

接触確認アプリのログファイルを表示します。
MIT License
5 stars 1 forks source link

ローカルホスト以外からログファイルを受信する #55

Closed Takym closed 3 years ago

Takym commented 3 years ago

https://github.com/cocoa-mhlw/cocoa/issues/271#issuecomment-874026709 から

Takym commented 3 years ago

https://github.com/YigtyORG/CocoaLogViewer/blob/6218f262fe709156bc26ef6a704b9269e5fbcef2/src/Covid19Radar.LogViewer.Launcher/FormReceiver.cs#L100-L104

上記のコードだと外部から接続できなくなる。

IPAddress.Any/IPAddress.Parse("0.0.0.0") だと何故かIPアドレスが自動的に取得されない。ポート番号は 0 を指定すると自動的に取得される。