Skip to content

How can I start the server on a specific port #4468

Closed Answered by krystalcode
krystalcode asked this question in Q&A
Discussion options

You must be logged in to vote

For anybody that wants to do something similar, I figured out how to make it work via STDIO using socat:

socat tcp-listen:8893,reuseaddr exec:"haskell-language-server-wrapper --lsp"

Here is an example entrypoint for a container: https://github.com/krystalcode/docker-dev/blob/master/language-servers/haskell/entrypoint.sh

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@krystalcode
Comment options

@fendor
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by krystalcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants