hello there, i just make an app using <this librar...
# server
a
hello there, i just make an app using this library which is based in ktor but i am not able to find the default port even searching around for
Copy code
embeddedServer(Netty, port = "ITS PORT")
or is there any system command to find which port the app is running in ? i also packed it as jar file if it could be easy to get the port
a
did you try the default ktor port?
a
@asad.awadia I never thought that, I will give a try. Maybe it would work Thanks
m
What do you mean by “the app is running in”? There is no app. That’s merely a client library 🤔
a
the app do asynchronous POST and GET to discord server to start the bot in the machine that currently running on
m
What app?
a
The code where you design the bot
m
Even then - the bot is merely a client. There is no server and hence no server port 🤔
a
I got confused b/c the kord start running as ktor app
m
There’s Ktor client and Ktor server. The bot API merely uses a Ktor client to provide a Discord bot.
a
Ah, so it's a client that's why I couldn't find the port 🤔
m
yup