How to change my server address

hello,
i am using ttn gateway with raspberry pi now i want to change my server address from routers.things.network.server to my network server ip i have tired to change the local_config,son in bin and also (my_mac).json in gateway remote config folder but none of that seems to be working can anyone tell me what i am doing wrong
thanks and regards
manikandan v