N
N
nnikolyaa2021-04-13 23:57:40
Computer networks
nnikolyaa, 2021-04-13 23:57:40

How to connect to a server whose ip needs to be obtained somewhere ... there?

I have a client that, every time it is turned on, must go somewhere to get the address. Then it connects with a socket to the received address, and exchanges a message.
Question: How to make it so that you can get somewhere stored ip and port to connect, while the code does not contain any "login, password" to connect ... for example, to a server db. Are there services that allow you to do this?

?Why do you need it? Make a static ip, and hammer 5m *** on it.
= :/ if it is possible to do without it, then why spend 5 bel rubles on static.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2021-04-14
@nnikolyaa

any dyn dns service solves this problem at once.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question