Localhost http get error ionic v3

#1

Anytime I make a get request to my server I am getting the error in the pic. I am getting the data as expected from my server and there is no problem. The thing is I am not even using localhost as my server. I don’t deal with localhost at all but still it seems ionic making a null request to the localhost. Does anybody know why this is?