You do not configure anything in the MobileFirst Server for this.
If an IP address is not available, that means it is not really the correct IP address to use… you need to double-check the IP address and its port. You need to verify that’s really an external, public, IP address. 164.0.0… does not seem external at all.
solved connection refused error while accessing adapter from app