Use ip and port instead of hardcoding them.