Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SocketException: Failed to create server socket #1

Closed
HosamHasanRamadan opened this issue Sep 2, 2022 · 0 comments · Fixed by #7
Closed

SocketException: Failed to create server socket #1

HosamHasanRamadan opened this issue Sep 2, 2022 · 0 comments · Fixed by #7
Assignees
Labels
bug Something isn't working
Milestone

Comments

@HosamHasanRamadan
Copy link
Owner

HosamHasanRamadan commented Sep 2, 2022

Logs:

http://192.168.245.228:55555/55555
Unhandled exception:
SocketException: Failed to create server socket (OS Error: Address already in use, errno = 48), address = 192.168.245.228, port = 55555
#0      _NativeSocket.bind (dart:io-patch/socket_patch.dart:996:7)
<asynchronous suspension>
#1      serve (package:shelf/shelf_io.dart:51:16)
<asynchronous suspension>
#2      _createServer (package:shelf_plus/src/shelf_run.dart:80:18)
<asynchronous suspension>
#3      shelfRun (package:shelf_plus/src/shelf_run.dart:53:5)
<asynchronous suspension>
#4      run (package:fshare/fshare.dart:38:3)
<asynchronous suspension>

resources to fix this issue:
https://stackoverflow.com/questions/14093628/how-can-i-find-an-unused-tcp-port-in-dart

@HosamHasanRamadan HosamHasanRamadan self-assigned this Sep 2, 2022
@HosamHasanRamadan HosamHasanRamadan added the bug Something isn't working label Sep 2, 2022
@HosamHasanRamadan HosamHasanRamadan added this to the 0.4 milestone Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant