add commented method resolv error for direct ip