fayis672 / epub_viewer

A Flutter package for rendering Epub documents
https://pub.dev/packages/flutter_epub_viewer
BSD 3-Clause "New" or "Revised" License
12 stars 12 forks source link

The shared flag to bind() needs to be true if binding multiple times on the same (address, port) combination. #18

Closed Esdeath closed 3 months ago

Esdeath commented 3 months ago

flutter: Error: SocketException: Failed to create server socket (OS Error: The shared flag to bind() needs to be true if binding multiple times on the same (address, port) combination.), address = 127.0.0.1, port = 8080 #0 _NativeSocket.bind (dart:io-patch/socket_patch.dart:1032:7)

I use navigate to the epub page ,its ok,then i back to the prev page, then navigate to the epub page, its error

fayis672 commented 3 months ago

Please provide a minimal reproducible code and flutter doctor -v outputs