victordiaz / PHONK

PHONK is a coding playground for new and old Android devices
https://phonk.app
GNU General Public License v3.0
457 stars 27 forks source link

Can not access the webpage #121

Open shalva97 opened 1 year ago

shalva97 commented 1 year ago

Try to add information such as (if possible) Installed the apk from Github releases. It does show "Web editor running"

Problem description the website does not load, tried with Firefox and shows "The connection timed out", also tried with stock Browser and shows same error

Device model Xiaomi Mi 10T - Lineage OS 19

Android version 12

Steps to reproduce the bug open the app and start server open browser and try to load the url "The connection timed out"

victordiaz commented 1 year ago

Hi @shalva97 Could you check if any of this work for you?

1) Stop then re start the server. 2) Ping the phone from your computer and see if its reachable. If you are in a public network maybe the ports are closed? 3) Reboot the phone. it has happened to me a few times. 4) You can also try to create a hotspot from the phone, connect your computer to the phone and reach it. 5) Another possibility is to access the phone server via USB cable. For that you need the adb command in your system and do

 adb forward tcp:8585 tcp:8585
 adb forward tcp:8587 tcp:8587

After that you can access the web editor from the ip http://127.0.0.1:8585

Let me know how it goes. All the best