Calling web service from ionic project

Hi guys i’m creating project of read sms from mobile and send the data to server.
My problem is how can i mention my server ip address(url) in ionic project. Currently i’m running server running locally. Please suggest me. Thanks in advance.

See: https://medium.com/@balramchavan/separating-production-and-development-http-urls-using-environment-ts-file-in-angular-4c2dd0c5a8b0