Mustafa Ozhan
07/20/2021, 10:26 AM./gradlew :backend:run
everything works as expected I can reach it by <http://127.0.0.1:8080/endpoint>
it reposes.
I have created a fat jar and run in my server but I can not get response when i <http://IP_ADRESS:8080/endpoint>
the main is below
// Configs
private const val PORT = 8080
private const val HOST = "127.0.0.1"
fun main() {
....
embeddedServer(
Netty,
port = PORT,
host = HOST
) {
routing {
....
}
}.start(wait = true)
}
What can be the reason, I have allowed my port alsocrummy
07/20/2021, 10:29 AMMustafa Ozhan
07/20/2021, 10:51 AMhfhbd
07/20/2021, 10:53 AMMustafa Ozhan
07/20/2021, 10:54 AM