I wrote a webserver with, say, the webserver package, and can start it in ghci with:
:main localhost 8000
If I Ctrl-C it and run that again, I get
*** Exception: bind: resource busy (Address already in use)
So the socket seems to be bound to my ghci session.
How can I free that port binding so that I can :reload and start it again without quitting ghci?