Hi, once I launch Cocos Creator studio, I can preview my url (using localhost:7456), on that computer, but not on other devices such as other computers or smartphones. Also, Ip address is also greyed out with 0 showing. Does anyone know how to make the url be able to be previewed on other devices using localhost?
if you have multiple network adapters, cc will only display there the ip of one of them. so in a console do a “ipconfig” and see what your actual adapter ip is.
in my case, i have some leftover adapter with 192.168.xxx.yyy (i used to have virtualbox installed and it’s the adapter that it created) which cocos creator display, however, my wifi adapter ip is 172.16.sss.ttt - so i’m using the later.
hope this solves your issue.
later edit: you can also go to CC File>Settings>General tab and in the “IP Address” select the IP address that matches your network.