Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have multiple clients (mobile and web) that need to connect to my application on the cloud using web services. How do I specify the IP address of the server in my client code? Another query is - if I change the server, and go to another cloud provider and get a new IP address, would I need to change all my client applications to reflect the new IP address? Is there any other optimized way in which I would not need to change the client applications?

Any help would be appreciated.

Thanks.

share|improve this question
add comment

1 Answer

You don't specify the IPs on your client, nobody does that, you point them at the matching DNS record for your services. And for your second question you're update your DNS records to match your new IP addresses.

Please don't take this as rude or offensive but this is a very basic question that anyone with even the smallest experience with web/IP systems would know - that you're asking this question worries me that you may not have the right experience and training to be building such systems. Again I'm not being rude but it would be a bit like getting into a taxi and the driver asking you what a steering wheel was.

share|improve this answer
1  
+1 times a million. –  Chris S Mar 10 '11 at 13:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.