reo7sp/tgbot-cpp

Cannot use my own Telegram server that I hosted on a machine with 8082 port

HetDaftary opened this issue · 1 comments

I am using the version v1.7.1 and I want to use the Telegram server "192.168.1.135:8082" where my server made with tdlib/telegram-bot-api (version 6.7.1) is hosted right now.

I am currently using the following code to connect to my server.

image

And the server is hosted like this on my local network
image

But it throws the following exception at run time:
terminate called after throwing an instance of 'boost::wrapexcept<boost::system::system_error>' what(): resolve: Host not found (authoritative)

reo7sp commented

192.168.1.1335

You have got a typo in IP address