Self-detect IP