Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

1 votes
0 answers
54 views
Android 10 hotspot static ip routing issue
I am running LineageOS 20 (Android 10) on my Xiaomi Redmi 9 (lancelot) rooted using Magisk. I started a WiFi-hotspot and based on https://android.stackexchange.com/a/213626/521733, I used the following commands from a root shell: ``` lancelot:/ # ip a show ap0 35: ap0: mtu 1500 qdisc mq state UP gro...
I am running LineageOS 20 (Android 10) on my Xiaomi Redmi 9 (lancelot) rooted using Magisk. I started a WiFi-hotspot and based on https://android.stackexchange.com/a/213626/521733 , I used the following commands from a root shell:
lancelot:/ # ip a show ap0
35: ap0:  mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether c2:98:90:46:b0:dc brd ff:ff:ff:ff:ff:ff
    inet 192.168.233.181/24 brd 192.168.233.255 scope global ap0
       valid_lft forever preferred_lft forever
    inet6 fe80::c098:90ff:fe46:b0dc/64 scope link 
       valid_lft forever preferred_lft forever
lancelot:/ # ip a add 192.168.100.1/24 dev ap0
Then, I connected to the hotspot using three methods: 1. DHCP Client received an IP: 192.168.233.81/24 Obviously, I was able to ping the Android gateway, as expected. 2. Static IP withing the 233 subnet Client IP: 192.168.233.10/24 Gateway and DNS: 192.168.233.81 Once again, I was able to ping the Android gateway, as expected. 3. Static IP within the 100 subnet Client IP: 192.168.100.10/24 Gateway and DNS: 192.168.100.1 **I was not able to ping the Android gateway.** There aren't any iptables rules that would drop this traffic:
lancelot:/ # iptables-save | grep tether                                                                                                                                
:tetherctrl_raw_PREROUTING - [0:0]
-A PREROUTING -j tetherctrl_raw_PREROUTING
-A tetherctrl_raw_PREROUTING -i ap0 -p tcp -m tcp --dport 21 -j CT --helper ftp
-A tetherctrl_raw_PREROUTING -i ap0 -p tcp -m tcp --dport 1723 -j CT --helper pptp
:tetherctrl_nat_POSTROUTING - [0:0]
-A POSTROUTING -j tetherctrl_nat_POSTROUTING
-A tetherctrl_nat_POSTROUTING -o wlan0 -j MASQUERADE
:tetherctrl_mangle_FORWARD - [0:0]
-A FORWARD -j tetherctrl_mangle_FORWARD
-A tetherctrl_mangle_FORWARD -p tcp -m tcp --tcp-flags SYN SYN -j TCPMSS --clamp-mss-to-pmtu
:tetherctrl_FORWARD - [0:0]
:tetherctrl_counters - [0:0]
-A FORWARD -j tetherctrl_FORWARD
-A tetherctrl_FORWARD -j bw_global_alert
-A tetherctrl_FORWARD -i wlan0 -o ap0 -m state --state RELATED,ESTABLISHED -g tetherctrl_counters
-A tetherctrl_FORWARD -i ap0 -o wlan0 -m state --state INVALID -j DROP
-A tetherctrl_FORWARD -i ap0 -o wlan0 -g tetherctrl_counters
-A tetherctrl_FORWARD -j DROP
-A tetherctrl_counters -i ap0 -o ccmni1 -j RETURN
-A tetherctrl_counters -i ccmni1 -o ap0 -j RETURN
-A tetherctrl_counters -i ap0 -o wlan0 -j RETURN
-A tetherctrl_counters -i wlan0 -o ap0 -j RETURN
Why is it not working? What is dropping the traffic? How do I fix it? My use case is as follows: I need to connect a Raspberry Pi to the hotspot and access it from my phone. Unfortunately Android hotspot subnet is set randomly, so I don't know the IP address that the client got assigned. mDNS does not seem to work, so the only other option I can think of is a static IP on a different, non-random subnet.
mopalinski (11 rep)
Mar 2, 2025, 03:40 AM • Last activity: Mar 2, 2025, 03:52 AM
1 votes
0 answers
52 views
How to disable IP settings randomization of wifi sharing?
I can not see a way to set up the network parameters if I start a wifi sharing in AP mode. The usual behavior of my phones is that they randomly allocate a /24 block somewhere below 192.168.0.0/16, and everything will be random there. They are also re-generated, if the wifi stops working on any reas...
I can not see a way to set up the network parameters if I start a wifi sharing in AP mode. The usual behavior of my phones is that they randomly allocate a /24 block somewhere below 192.168.0.0/16, and everything will be random there. They are also re-generated, if the wifi stops working on any reason. I want to change it. I want the good old times back as I just could determine the IP range, the IP of the AP in it and that worked well. It would be yet much better if I could even create a mac-ip mapping, like it is possible in any dhcp daemon on the Linuxes; but I think it will remain a dream today. Can I do it? I have here a rooted Android 11.
peterh (1176 rep)
Dec 19, 2024, 06:24 PM • Last activity: Dec 25, 2024, 05:45 PM
23 votes
6 answers
105357 views
How to set up a host to IP mapping on unrooted Android?
I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm using named virtual hosting. So, what I want to do is be able to type `mysite.local` in to Chrome/Fire...
I've a website running on my computer, and I want to test it from my Nexus 7 tablet. I.e. over the local WiFi LAN. If I type in the IP address it connects, but shows the wrong web site, because I'm using named virtual hosting. So, what I want to do is be able to type mysite.local in to Chrome/Firefox on the Nexus, have them convert that to 10.1.2.3 (or whatever the local IP address is), then call the 10.1.2.3 server giving mysite.local as the Host to request. *My Question:* Does an Android 4.x tablet have an /etc/hosts files, or equivalent, that I can edit? (Without having to root the tablet, or anything like that.) On my Linux computers I do this by adding an entry in /etc/hosts: 10.1.2.3 mysite.local (Or Windows\System32\drivers\etc\hosts on a Windows machine does the same.) BTW, this is a semi-duplicate of https://android.stackexchange.com/q/9633/36187 , but that question was for Android 2.2, where apparently it was not possible. (One of the alternative ideas suggested there was configure DNS at the local router, but as far as I can tell my router does not do DNS locally so does not have that option. I could set up my own DNS server to do this, but that feels like a Big Job Solution.)
Darren Cook (393 rep)
Jul 29, 2014, 08:36 AM • Last activity: Jun 7, 2024, 03:18 PM
1 votes
1 answers
535 views
Android Wireless Debugging Runs Under Different Private IP Range than WiFI
Android 13 on Unihertz Jelly Star. Never had a problem up until today when I was attempting to use `scrcpy` and got annoyed enough by the constantly changing port number assignment for the Wireless Debugging server to finally try to solve the annoyance. (I'm referring to the relatively recent change...
Android 13 on Unihertz Jelly Star. Never had a problem up until today when I was attempting to use scrcpy and got annoyed enough by the constantly changing port number assignment for the Wireless Debugging server to finally try to solve the annoyance. (I'm referring to the relatively recent change that randomizes the wireless server's port number to somewhere in the range of 30,000-49,999, rather than the long standard 5555.) Somehow I've caused it to start up under the 10.x.x.x IP range even though my home network is on the 192.168.x.x range, and I can't seem to get it to revert permanently. I've tried "Reset WiFi, mobile, & BT" options twice now, and the relief it gives is very brief. I've turned off mobile data to eliminate that potential source of IP assignment. I've been through several reboots, connecting both wirelessly and via USB from the PC, and I just can't keep the ADB server on the home IP range (WiFi itself remains on the expected range). I suspect it might have something to do with the USB connection, but I can't seem to pin it down. It's just so bizarre to me. I only have a cursory understanding of TCP/IPv4 that I learned years before I'd ever even heard of IPv6, and I've been out of the tech field of work ever since (a couple decades now) so I'm at a loss on how to further track the problem down. Any help to avoid having to reset the phone and set it up again (assuming that would even resolve the issue) would be appreciated! No root, stock ROM (after one update) - however I *am* using [Shizuku](https://shizuku.rikka.app/) , which gives some root-like abilities to apps programmed to take advantage of it. The only seemingly acceptable solution I (sort of) found was a reference to "the LADB" fix that didn't actually describe, nor link to it. A bit more looking around made it clear they likely meant using the [LocalADB](https://github.com/tytydraco/ladb) app's ability to run a command upon startup. Basically, it seemed they were using it to restart the ADB server, explicitly telling it to use the standard port in the process via the command adb tcpip 5555. When I first tried using it, adb complained that there were multiple possible devices to target the command to (I'm a bit foggy because I was up late doing this, but I think I tried this both with the USB plugged in as well as not). I modified the startup command to adb disconnect; adb tcpip 5555 and that seemed to work, but left it in a sort of bootloop where it'd lose the connection (of course) and attempt to reconnect, and then once again run my command string. I dropped the disconnect part and instead gave it the -e option to refer specifically to the tcpip connection, but effectively got the same result (which makes sense). Further searching/reading up on it gave me the impression (but again no explicit step-by-step) that this was expected - they weren't looking to use LADB anyway, but instead just using it to accomplish the goal of restarting the server on the correct port. As such, once the bootloop-like behavior started, they just killed the LADB app. That seemed to work for me as well, but somewhere along the way of setting things back up after resetting my network connections - WiFI credentials (I've two local networks), USB ADB connection, Shizuku setup, scrcpy, etc. - the Wireless Debugging server goes back to the 10.x.x.x range and nothing I do changes it. I will try to step-by-step it later today, but haven't the time at the moment. I was hoping someone with more TCP/IP understanding than I have might point me at the likely problem in the meantime. N.B.: Of course, in updating this to include a link to the LADB app, I noticed on the site it mentions being incompatible with Shizuku ATM. Seems odd to me that this would be the end result of that, but I'm obviously asking here because I'm not an expert. At the very least, it's an additional avenue of exploration.
SanctimoniousApe (11 rep)
Feb 18, 2024, 10:07 AM • Last activity: Apr 1, 2024, 03:41 PM
1 votes
0 answers
163 views
Why would enabling or disabling AdGuard for Android change my public IP?
Since I just set up a VPN to my home server, I performed various tests and I found that, when I'm on cellular data, enabling or disabling AdGuard for Android (paid version) changes the IP detected by whatismyip.com or ipleak.net. Since I'm on mobile, neither one obviously matches my home IP. Today w...
Since I just set up a VPN to my home server, I performed various tests and I found that, when I'm on cellular data, enabling or disabling AdGuard for Android (paid version) changes the IP detected by whatismyip.com or ipleak.net. Since I'm on mobile, neither one obviously matches my home IP. Today with AdGuard, for example, I could get 77.63.3.x which belongs to KPN, my provider, and an IPv6 address as well. Without AdGuard my IP is 77.63.6.x, again from KPN, but located in Utrecht. Another day the difference was "bigger", not even the first byte of the IPv4 matched. AdGuard is set to use a local VPN, since my Android is not rooted.
FarO (193 rep)
Jan 6, 2024, 11:21 PM • Last activity: Jan 8, 2024, 08:38 AM
3 votes
0 answers
90 views
How to connect a non-rooted Android phone to an ethernet LAN as a client
How can I connect a non-rooted Android phone to an Ethernet LAN as a client and use it as a host? I got a public static IP. It's in my optical fiber router and I can assign it to a LAN host of my choice. Before answering, please read the following points: 1. I don't want to use the WiFi interface 2....
How can I connect a non-rooted Android phone to an Ethernet LAN as a client and use it as a host? I got a public static IP. It's in my optical fiber router and I can assign it to a LAN host of my choice. Before answering, please read the following points: 1. I don't want to use the WiFi interface 2. I tried an USB-to-ethternet cable but that allows me to configure the phone as an Ethernet-to-LTE access point for the LAN attached hosts. It's a tethering service **I want to use my phone as a power-frugal server with a public static IP address.** Ciao
Enrico Migliore (129 rep)
Dec 19, 2023, 07:55 AM • Last activity: Dec 19, 2023, 07:50 PM
1 votes
2 answers
220 views
How can I force the phone to have a fixed IP address on 2GHz and 5GHz WiFi?
I am running an FTP server on my Samsung Galaxy Note 20. On my router, I have given it a fixed IP address based on its MAC address on a 5GHz network. But when the phone connects on 2GHz, it has a different MAC address. My router refuses to give the same IP address to two devices, even if only one is...
I am running an FTP server on my Samsung Galaxy Note 20. On my router, I have given it a fixed IP address based on its MAC address on a 5GHz network. But when the phone connects on 2GHz, it has a different MAC address. My router refuses to give the same IP address to two devices, even if only one is connected. How can I resolve this?
Rohit Gupta (3407 rep)
Nov 2, 2023, 01:31 AM • Last activity: Nov 4, 2023, 10:23 AM
38 votes
5 answers
320230 views
How configure the DHCP settings of WIFI Tethering (Hotspot) on Android?
When connecting my PC to Android Wi-Fi hotspot, it assigned a `192.168.42.x` address to my PC. I really need to change this as it conflicts with one of our work subnets - is this possible?
When connecting my PC to Android Wi-Fi hotspot, it assigned a 192.168.42.x address to my PC. I really need to change this as it conflicts with one of our work subnets - is this possible?
VVK (1961 rep)
Jun 2, 2013, 08:19 AM • Last activity: Sep 26, 2023, 01:15 PM
1 votes
0 answers
565 views
Android static IP ethernet on head unit
I need to set static IP on an Android 10 head unit where there is no ethernet settings page enabled so I couldn't set it by the touch panel. I try to set the address with adb command (`adb root`) and I was able to set it by using `ifconfig eth0 `. But at the boot, the system forgot this setting. Whe...
I need to set static IP on an Android 10 head unit where there is no ethernet settings page enabled so I couldn't set it by the touch panel. I try to set the address with adb command (adb root) and I was able to set it by using ifconfig eth0 . But at the boot, the system forgot this setting. Where could I set it in a general configuration file that set the static IP configuration permanently?
B. Meir (11 rep)
Dec 19, 2022, 04:03 PM • Last activity: Dec 21, 2022, 02:00 AM
4 votes
1 answers
3987 views
How to reset static IP address back to DHCP for ethernet
I have setup a static ip address for `eth0` with adb command `ip addr add $ipAddress dev eth0` plus other commands to set the `netmask`, `route` and dns values. My question is how to I go back to a non static IP address I tried doing `ifconfig eth0 dhcp` but I get an error in adb saying > ifconfig:...
I have setup a static ip address for eth0 with adb command ip addr add $ipAddress dev eth0 plus other commands to set the netmask, route and dns values. My question is how to I go back to a non static IP address I tried doing ifconfig eth0 dhcp but I get an error in adb saying > ifconfig: bad argument 'dhcp' Right now the only way I can reset everything is if I reboot the device since the changes dont persist. How can I reset them without a reboot?
tyczj (161 rep)
Aug 12, 2020, 06:53 PM • Last activity: Dec 20, 2022, 09:42 AM
0 votes
0 answers
1755 views
Assigning a static IP address to a phones hotspot
How can I assign a static IP address to my phone's hotspot? I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet. I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access. A f...
How can I assign a static IP address to my phone's hotspot? I use the hotspot on my Samsung M31 to connect my laptop running Windows 10 to the internet. I also have Oracle's Virtual Box VM running a few test websites on the laptop on Ubuntu Server 22.04, which need a static IP address to access. A few days back when I ran ipconfig at the Windows command prompt, it showed my wireless IP address as 192.168.166.135. Today, it show as 192.168.35.125. Meaning, all my sites are now broken. Is there a way to stop the hotspot from changing IP addresses? Can someone please help?
Norman (149 rep)
Jun 6, 2022, 01:34 PM • Last activity: Jun 6, 2022, 01:54 PM
26 votes
3 answers
232625 views
Is there a command or application similar to ipconfig?
I would like to see my network addresses on my phone. On Windows I can use `ipconfig` for this and `ifconfig` on Linux. But how can I see this information on my Android device? Is there an application or command for this? More specifically I would like to see what IPv4 address I get and what IPv6 ad...
I would like to see my network addresses on my phone. On Windows I can use ipconfig for this and ifconfig on Linux. But how can I see this information on my Android device? Is there an application or command for this? More specifically I would like to see what IPv4 address I get and what IPv6 address I get or if I don't get one.
Jonas (5087 rep)
Dec 16, 2010, 09:22 AM • Last activity: Dec 29, 2021, 07:13 AM
1 votes
1 answers
1065 views
Cannot connect: Obtaining IP address
*This is not a duplicate of 'Android stuck on obtaining IP address' and similar questions* When I try to connect to my home network with my android phone, it displays this message and never connects: "Obtaining ip address...". This only happens when it tries to connect directly to the modem, rather...
*This is not a duplicate of 'Android stuck on obtaining IP address' and similar questions* When I try to connect to my home network with my android phone, it displays this message and never connects: "Obtaining ip address...". This only happens when it tries to connect directly to the modem, rather than another access point (which is much much slower in my case). I have followed tips online, the standard reconnect, reboot everything etc.; aswell as changing from DHCP to static IP. After assigning a static IP I successfully connect to the modem, but I have no internet connection. Rebooting and using different IPs does not help. This problem is infuriating. Sometimes when I leave it for (DHCP) ages (10-20 mins) it manages to connect successful, but then the connection typically breaks down again maybe half an hour later. The modem in question is a virgin media fibre modem, model EVW3226 manufactured by Ubee. The internet works perfectly on all other devices we have, although sometimes it crops up on the Samsung tablet aswell. The problem device in question is my Oneplus X running the latest version of oxygen (android 6.0.1 in this case) for this device.
otoomey (111 rep)
Jan 19, 2018, 04:45 PM • Last activity: Dec 23, 2021, 08:03 PM
0 votes
1 answers
329 views
Mosquitto broker on android 9 hotspot = random broker address
after some years of great and reliable service, my old Android 7 phone, used as hotspot and mosquitto broker, has decided to retire himself. In my previous setup, Mosquitto runs in a termux shell on boot, and with an app/tasker plugin -mqtt client-, I can intercept messages sent from an esp32cam cli...
after some years of great and reliable service, my old Android 7 phone, used as hotspot and mosquitto broker, has decided to retire himself. In my previous setup, Mosquitto runs in a termux shell on boot, and with an app/tasker plugin -mqtt client-, I can intercept messages sent from an esp32cam client (I use it as a PIR alarm), then send me sms through tasker and a mail with the captured image through wifi. On android 7 the hotspot address is always 192.168.43.1 and for months I had no problems. Now I have a new phone as hotspot, with Android 9, but I can't replicate my setup: the gateway address, so the mosquitto broker address, changes randomly at every new connection, and I can't fix it on the esp32 and on the mqtt client app.
TortelliD (1 rep)
Dec 3, 2021, 10:02 PM • Last activity: Dec 16, 2021, 08:02 PM
0 votes
0 answers
687 views
How to setup my Android wifi config for vpn sharing using astrill?
https://wiki.astrill.com/Astrill_Setup_Manual:Enable_VPN_Sharing I am trying to enable VPN sharing from my computer to my Android device. I got to the step where I change the IP Settings from DHCP to Static. I entered the IP address in Gateway, DNS1 and DNS2 as instructed. However, I am unable to sa...
https://wiki.astrill.com/Astrill_Setup_Manual:Enable_VPN_Sharing I am trying to enable VPN sharing from my computer to my Android device. I got to the step where I change the IP Settings from DHCP to Static. I entered the IP address in Gateway, DNS1 and DNS2 as instructed. However, I am unable to save because the IP address field is missing. Does anyone know what to enter and where to find it?
Xi Wei (101 rep)
Sep 23, 2021, 10:52 AM • Last activity: Sep 23, 2021, 11:42 AM
4 votes
3 answers
10218 views
How to set up LAN Printer with IP address
On a Moto G (5) Plus running Android 8.1.0, API 27, I have `Default Print Service` under `Settings > Connected devices > Printing`. When I click on `Default Print Service` it starts searching for printers, which doesn't return anything, even though my printer and phone are on 192.168.3.x (my home LA...
On a Moto G (5) Plus running Android 8.1.0, API 27, I have Default Print Service under Settings > Connected devices > Printing. When I click on Default Print Service it starts searching for printers, which doesn't return anything, even though my printer and phone are on 192.168.3.x (my home LAN). I can click the 3 dot menu and click Add printer, then under *Add manual printer*, I type the IP address of the printer, but the result is immediate: > Printer not supported The printer is connected to the LAN through a JetDirect 300X (yes, very old technology). But the printer works fine when configured to receive output from Windows machines. On Windows, I put in the IP address, Port Number 9100, protocol Raw. The driver is HP LaserJet5, which comes with Windows. Beyond the default print service, I also tried and HP Print Service that I found on GooglePlay, but I could not find a way to manually add a printer using that. Is there a way to get my phone to print to this LAN connected printer?
Dale (483 rep)
Feb 17, 2019, 11:16 PM • Last activity: Jul 19, 2021, 05:25 AM
3 votes
2 answers
10661 views
Where to find IP address in file system (e.g. proc or sys)
Is there a way to get the IP (v4) address of an interface in the file system of Android? I know I could use ifconfig or netcfg but I would like to use a monitoring tool which can only access files and not execute commands.
Is there a way to get the IP (v4) address of an interface in the file system of Android? I know I could use ifconfig or netcfg but I would like to use a monitoring tool which can only access files and not execute commands.
AlvaHenrik (131 rep)
Jan 30, 2014, 11:31 AM • Last activity: Jul 13, 2021, 01:14 PM
1 votes
0 answers
230 views
Mapping an IP address to local Android device (localhost)
Is there a way to add a IP address to be a loopback to my Android device? So for example 127.0.0.1 is always the local device. I have a certain IP address that I also want to reserve just for the device just like the 127 IP and I don't want it going to the real IP. On a Windows machine I can add mul...
Is there a way to add a IP address to be a loopback to my Android device? So for example 127.0.0.1 is always the local device. I have a certain IP address that I also want to reserve just for the device just like the 127 IP and I don't want it going to the real IP. On a Windows machine I can add multiple IP addresses in the LAN adapter. Is there a way to do this in Android?
Ahmed (121 rep)
Jan 31, 2021, 09:58 AM • Last activity: Jan 31, 2021, 08:25 PM
8 votes
1 answers
33338 views
Does the IP address over a mobile data connection (gprs, 3g/4g) change every time on new connection?
Is the IP address of a data connection assigned every time whenever a fresh connection is established (e.g after a disconnect-reconnect scenario, reboot etc) or its preserved. I have done a bit of research on this topic but there are slightly different views. The first one is affirmative: > Whether...
Is the IP address of a data connection assigned every time whenever a fresh connection is established (e.g after a disconnect-reconnect scenario, reboot etc) or its preserved. I have done a bit of research on this topic but there are slightly different views. The first one is affirmative: > Whether the IP address is reachable from the public Internet, however, > depends on your ISP; most mobile ISPs operate a NAT that multiplexes > several network-internal IP addresses through a single address visible > to the public Internet. The externally visible IP address may change > on the fly as you move around from cell tower to cell tower. Your external IP will, however, **change when you reconnect to your network** [1] On the other hand, some suggest that the same IP address is maintained even on reconnection after reboot **but only changes when the lease expires** > Phones use DHCP (Dynamic Host Control Protocol) to obtain new IP > addresses from the carrier when the lease on the address expires. You > **don't get a new IP address every time the phone reboots, only when you > restart the phone and the lease on the IP address has expired**. [2] I do understand the concept of DHCP and that new IP addreses are assigned whenever the lease expires (some suggest usually after 24 hours or so) but my confusion is that if the lease is still valid and I do disconnect and reconnect mobile data, do I get assigned a new IP or the existing one is kept? References 1. Does my phone have an IP address when I'm using the internet, but not connected to WiFi? 2. Does my 4G mobile phone have a fixed IP address or does it change whenever I move to a different location or whenever I restart the phone?
xavier_fakerat (10345 rep)
Sep 10, 2017, 11:37 AM • Last activity: Jan 19, 2021, 04:09 AM
2 votes
0 answers
554 views
How to host a public website with my domain name on Android?
I have my own domain name, richardbrowning.cf, and I want to host my own website (using this domain name) on my Android phone. My Android isn't connected to Wi-Fi (I am using Mobile Data). I started locally hosting my website on my Android, (and it was available at http://mylocalipaddress:myport. Th...
I have my own domain name, richardbrowning.cf, and I want to host my own website (using this domain name) on my Android phone. My Android isn't connected to Wi-Fi (I am using Mobile Data). I started locally hosting my website on my Android, (and it was available at http://mylocalipaddress:myport . Then I went to my registrar and added an A DNS Record setting the target to my local IP Address. Now if I go to richardbrowning.cf:myport, I can view my website. But it is still only local. So I have two issues. I want to make my website public, not just local (so everyone can view my website) and I want to remove the need for putting :port at the end of the domain/website. By the way, an end note is that I tried putting my external IP Address into my DNS Record instead of my local IP Address, but this doesn't work because there is nothing being hosted to this external IP Address. So if I could maybe host my website to my external IP Address and then put this external IP Address into my DNS Record, then that would work. But I can't find a way to host my website to my external IP Address. I only see ways to host my website to my local IP Address (locally). Thanks in advance.😀
Richard Browning (21 rep)
Jan 16, 2021, 02:17 AM • Last activity: Jan 16, 2021, 05:18 PM
Showing page 1 of 20 total questions