U
U
urmi tilek uulu2015-04-24 13:27:18
Android
urmi tilek uulu, 2015-04-24 13:27:18

The Android application takes data from the server, if I change the server in the future, it will not work. How to be?

There were ideas when changing the server to notify using SMS. But there may be other ways, for example, put the server address in another special server whose address never changes.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
X
xmoonlight, 2015-04-24
@xmoonlight

Address the server by DNS name
If the IP server changes - change it in DNS and that's it ..

I
IceJOKER, 2015-04-24
@IceJOKER

What a stupid question.
Either you insert a code in advance that will check the availability of the server, or you redirect requests from the old server to a new one, or you correct the application code, or, or, or

K
Kirill Olenev, 2015-04-24
@agent10

Who will work? Server if you change it? It will be, why not, but depending on how you change it))

A
Alexander Karabanov, 2015-04-24
@karabanov

Discover DNS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question