Closed grtcdr closed 3 years ago
EDIT: sudo netstat -anp | grep 3000
gives me the output I need. But I still think there should be a little bit more documentation for confused people like myself.
shouldn't the network socket automatically close when you stop the application?
theres also espial-docker if you just want to run a conatiner.
shouldn't the network socket automatically close when you stop the application?
Unfortunately, it did not...
What command are you using to run it?
stack exec espial -- +RTS -T
as the README states to run a production server.
i would be surprised if the socket was owned by espial and still listening after the process was shutdown. you can run
while true; do sudo netstat -plat | grep 3000; echo ''; sleep 1; done
to see the owning process and the socket state
I might've done something wrong along the way then...
Feel free to close this :)
Are there plans to document some of the common operations?
For example: for someone like me, who's never used Haskell before, how do I close the network socket that was opened when I ran
espial
?Is there a help section that I'm missing?