kshvkantg
04/28/2023, 11:31 AMfun main() {
embeddedServer(Netty, port = 8080, host = "127.0.0.1", module = Application::module)
.start(wait = true)
}
fun Application.module() {
configureSecurity()
configureHTTP()
configureMonitoring()
configureSerialization()
configureDatabases()
configureRouting()
}
and running staus is [DefaultDispatcher-worker-1] INFO ktor.application - Responding at http://127.0.0.1:8080, same when host is "0.0.0.0" but when i redirect to http://127.0.0.1:8080 on my browser. I get an error stating "Safari cannot open the page". how can I fix this?Arun M
04/30/2023, 10:10 AMtelnet localhost(and your private IP as well) 8080If you can not connect, check proxy and firewall