Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAniruddha K
657 PointsSo can we connect with other devices connected to the net by using their IPs? How? Should they be on the same Wifi?
So can we connect with other devices connected to the net by using their IPs? How? Should they be on the same Wifi?
3 Answers
oivindberg
Full Stack JavaScript Techdegree Graduate 43,923 PointsHello, thanks for reaching out to me for an answer. Im certainly no expert but...
Yes they need to be on the same local network (wifi) to communicate. If you want to connect say to another computer in your house. You can do so using their IPs.
If you want to connect to your neighbors computer from your house you can only reach his/hers router.
Uppala Sai Akhil
1,833 PointsI think that some application software like TeamViewer allow you to connect to other devices by using their IP address.
Hussein Jamal
1,111 PointsYou cannot connect to other pcs or laptops directly through their IPs as their IP addresses as translated upwards using NAT (network address translation) to the routers and main routers on the path to access them.