1

I can't find a way to bind ktor server to a Unix socket, whatever engine I use. I've found the socket API, but I cant find a way to have ktor handle requests coming from it as it would with plain HTTP request.

I've tried Netty and Tomcat without success, they seem to lack the ability to bind to Unix socket when bundled into ktor (Tomcat seems to be supposed to).

1
  • 1
    Unfortunately, that's impossible at the moment, please follow youtrack.jetbrains.com/issue/KTOR-4766. Only the ktor-network module allows binding UNIX domain sockets. Commented Aug 5, 2024 at 8:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.