How to connect iphone to a local server running on mac

0 votes

I am running a django server at localhost:8000 to accces it from iPhone i had connected the iphone and mac to the same network.

 ifconfig |grep inet
inet 127.0.0.1 netmask 0xff000000 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
inet 127.94.0.1 netmask 0xff000000 
inet 127.94.0.2 netmask 0xff000000 
inet6 fe80::aede:48ff:fe00:1122%en5 prefixlen 64 scopeid 0x4 
inet6 fe80::10a0:e008:9d34:5f7e%en0 prefixlen 64 secured scopeid 0x6 
inet 192.168.43.234 netmask 0xffffff00 broadcast 192.168.43.255
inet6 2401:4900:2320:f3e9:10a0:ab34:c773:1104 prefixlen 64 autoconf secured 
inet6 2401:4900:2320:f3e9:b444:77e0:94f:8ccc prefixlen 64 autoconf temporary 
inet6 fe80::b4ed:bff:feba:10c2%awdl0 prefixlen 64 scopeid 0x8 
inet6 fe80::b4ed:bff:feba:10c2%llw0 prefixlen 64 scopeid 0x9 
inet6 fe80::54e:e417:7879:b351%utun0 prefixlen 64 scopeid 0xf 
inet6 fe80::203b:4e44:1f36:a04c%utun1 prefixlen 64 scopeid 0x10 
inet6 fe80::eaa6:a7d3:cf35:3fe1%utun2 prefixlen 64 scopeid 0x11 
inet6 fe80::7604:df44:d8c4:65be%utun3 prefixlen 64 scopeid 0x12 
inet6 fe80::3e0f:e8c3:e7a:f96c%utun4 prefixlen 64 scopeid 0x13 
inet6 fe80::3719:2c00:294b:88be%utun5 prefixlen 64 scopeid 0x16 

After running the ifconfig command i took out the ip adress of the mac i.e. 192.168.43.234. And using this address in safari i am not able to access the server from iphone.

Sep 22, 2022 in IOS by Soham
• 9,710 points
733 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In IOS

0 votes
0 answers

How to access and read a file on a USB drive from IOS? (Connected via OTG cable to iPhone)

Can I access a text file on ...READ MORE

Nov 7, 2022 in IOS by Soham
• 9,710 points
577 views
0 votes
1 answer

How is a rounded rect view with transparency done on iphone?

view.layer.cornerRadius = radius; The difficult technique is to ...READ MORE

answered Sep 22, 2022 in IOS by Rahul
• 9,680 points
905 views
0 votes
1 answer

Is there a way to to check if a picture was taken on that iPhone?

Actually, the model and manufacturer information is ...READ MORE

answered Sep 22, 2022 in IOS by Rahul
• 9,680 points
646 views
0 votes
1 answer

How to get rid of blank space from iPhone notch on web page

You should be looking for the meta-setting ...READ MORE

answered Nov 8, 2022 in IOS by Rahul
• 9,680 points
2,123 views
0 votes
1 answer

HTTP live streaming server on iPhone

If you don't encode the raw h264 ...READ MORE

answered Sep 20, 2022 in IOS by Aditya
• 7,680 points
837 views
0 votes
1 answer

Is it possible to run .APK/Android apps on iPad/iPhone devices?

It is not possible to run Android ...READ MORE

answered Sep 20, 2022 in IOS by Aditya
• 7,680 points
4,534 views
0 votes
1 answer

how to download and install Django rest framework?

To install Django, you can simply open ...READ MORE

answered Apr 24, 2018 in Python by Christine
• 15,790 points
1,969 views
0 votes
1 answer
0 votes
1 answer

Host not allowed

Go to your project directory cd project cd project ALLOWED_HOSTS ...READ MORE

answered Aug 9, 2018 in AWS by Priyaj
• 58,020 points
1,742 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP