Access localhost MacOS from another mobile?


I am building a project with PHP and run it on: And I want to access the server on my mobile device on this domain: And I try few steps below:


os: MacOS Hackintosh
connection: ethenet
inet netmask 0xff000000 
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
inet6 fe80::88a:7aab:2dc9:e424%en0 prefixlen 64 secured scopeid 0x5 
inet netmask 0xffffff00 broadcast
inet6 2001:ee0:4b7d:4560:cee:940a:6abc:bb6f prefixlen 64 autoconf secured 
inet6 2001:ee0:4b7d:4560:a5e1:a14c:e7e0:15d8 prefixlen 64 autoconf temporary 
inet --> netmask 0xffffffff 
inet6 fe80::2ef0:5dff:fede:d2fd%utun0 prefixlen 64 scopeid 0x6 
inet6 fd01:5ca1:ab1e:86eb:8fae:ce69:ca73:8676 prefixlen 128 
inet6 fe80::27c7:438e:c55f:f5ae%utun1 prefixlen 64 scopeid 0x7 
inet6 fe80::e69:1b18:7569:5a5c%utun2 prefixlen 64 scopeid 0x8 

nc -v 8000
nc: connectx to port 8000 (tcp) failed: Connection refused

What are the propblems. How can I resolve this?

asked on Stack Overflow May 14, 2021 by kalipts

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0