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

[Port already bound Error] In the example zio-quickstart-restful-webservice, Pressing Ctrl-C blocks the port 8080 #2776

Open
vivasvan1 opened this issue Apr 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vivasvan1
Copy link

Describe the bug
In the example zio-quickstart-restful-webservice, Running sbt, then run and Pressing Ctrl-C blocks the port 8080

To Reproduce
Steps to reproduce the behaviour:

  1. Go to 'zio-quickstart-restful-webservice' repo
  2. Run sbt
  3. Type run and press enter
  4. Press Ctrl+C
  5. Now type run again and press enter
  6. See the Error.

Expected behaviour
Server.serve should be able to handle interuptions (like Ctrl+C)

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser N/A
  • Version 22.04

Additional context
n/a

@vivasvan1 vivasvan1 added the bug Something isn't working label Apr 17, 2024
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

No branches or pull requests

1 participant