Added server IP + port to preferences instead of hardcoding