Fixed the bug preventing using a custom IP address.