Search code examples
androidwebviewraspberry-piport

how to loading 8000 port in android webview


Good morning.RE Load a web page from raspberry pi through the Android web page.

Raspberry IP refers to 172.20.10.10 or 172.20.10.10: 80.

The web page of the Apache server has been loaded.

You can not access web pages with 8000 port.

Raspberry writes 8000 ports on webiopi. So I'm trying to connect the 8000 port to the app. If i type 172.20.10.10:8000 on the web, i can load the web page well. However, if i enter 172.20.10.10:8000 as url with the Android webview, i can not call it.

How can I fix it?


Solution

  • Try :8080 or :8888 as you may need to use different port depending on your setup. Also confirm that apache is running on the Raspberry pie. Make sure you did the apt-get apache command and started it as well on the Raspberry pie before trying to hit it and make sure you are on the same network.