![]() ![]() ![]() MacOS and iOS share a clipboard thanks to iCloud Clipboard, so you can now simply paste the IP address in Safari's address bar on your iPhone. Be sure thats your port is open 8001 in Windows and Mac. you can holdĭown Option ⌥ with the IP menu open to replace the "localhost" part with your IP. If your local site running on the Mac as: Then be sure setup hosts: Open in mac /etc/hosts and write it downlike in my case 10.211.55.2 localhost instead of 127.0.0.1 localhost. If you have your localhost address in your clipboard (e.g. Step 2: Copy Your IP AddressĬlick the "IP" icon in your menubar to copy your IP address. Switching to Shared Networking should give your guest Windows OS a local IP address. Go the Mac App Store and download IP Friend. If both your computer and your phone are in the same network however, you can take your phone and navigate to the local IP address of your computer. How to get the ip address of your localhost on a mac. What you are looking for is not your Mac IP address but the public IP address your ISP attributed to the Internet interface of your router. If you're doing any kind of web development work these days, you probably need your website or app to run on mobile phones.īy default, your iPhone or iPad won't be able to access an app that's running on localhost on your desktop (unless you're running the simulator). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |