We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ktor Version and Engine Used (client or server and name) 1.2.5, server, ktor-server-cio
Describe the bug
my application.conf:
application.conf
ktor { application { modules = [ adeln.MainKt.module ] } deployment { host = "127.0.0.1" port = 8080 } }
When I run netstat -plnt:
netstat -plnt
With ktor-server-cio deployment.host is ignored and my server is accessible externally:
ktor-server-cio
deployment.host
tcp6 0 0 :::8080 :::* LISTEN 24413/java
To Reproduce
Expected behavior With ktor-server-netty deployment.host is applied correctly:
ktor-server-netty
tcp6 0 0 127.0.0.1:8080 :::* LISTEN 24978/java
The text was updated successfully, but these errors were encountered:
Running openjdk-11 on Ubuntu 18.04
Sorry, something went wrong.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Can't reproduce with Ktor 1.6.0.
cy6erGn0m
No branches or pull requests
Ktor Version and Engine Used (client or server and name)
1.2.5, server, ktor-server-cio
Describe the bug
my
application.conf
:When I run
netstat -plnt
:With
ktor-server-cio
deployment.host
is ignored and my server is accessible externally:To Reproduce
ktor-server-cio
netstat -plnt
and see thatdeployment.host
is ignoredExpected behavior
With
ktor-server-netty
deployment.host
is applied correctly:The text was updated successfully, but these errors were encountered: