Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to find out the IP address of my iPhone Hotspot connection.
I can enable it, and connect to it with a laptop, etc - but I want the IP address so I can telnet to the iPhone (I've set up the socket server software on the iPhone).

Any ideas?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Look at your 'router' or 'gateway' address. Open up the network control panel, select the iPhone connection, and the address should be displayed there, no?

Alternately it can be found by issuing an 'ifconfig' command in the terminal.

Failing all that you could get the external IP by browsing to www.whatsmyip.com and use that instead.

share|improve this answer
    
spot on, thankyou. It took a few moments to get an IP after connecting with wifi, but got there in the end. 169.254.*.* –  DefenestrationDay Apr 22 '11 at 0:56
    
Glad I could help. :-) –  Harv Apr 22 '11 at 3:11
add comment

Depends what you mean. Do you need to check the "public" address? IE the address of the iPhone on the internet? In that case visit www.whatismyip.com.

Do you want to see what address your iPhone is to your laptop connected via wifi to your iPhone? In that case on Windows you can check by going to properties under network. On mac you can Goto the Airport Icon, Open network preference, advanced, TCP/IP or open a terminal and type ifconfig.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.