tgbot-cpp icon indicating copy to clipboard operation
tgbot-cpp copied to clipboard

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

Open HetDaftary opened this issue 2 years ago • 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)

HetDaftary avatar Jun 06 '23 07:06 HetDaftary

192.168.1.1335

You have got a typo in IP address

reo7sp avatar Jun 06 '23 13:06 reo7sp