Many users are familiar with the situation where a smartphone finds your home network but displays the error "Network access denied" or "Obtaining IP address" instead of connecting. This message means that the router sees the device but, for some reason, is denying it access to the local network and the internet. Most often, the problem lies not in faulty hardware, but in a software glitch or security settings conflict.
There could be many reasons: from a banal overflow of the router's memory to complex filtering MAC addressesIn some cases, the Wi-Fi security system simply "forgets" the device or considers its authorization invalid. Understanding the error mechanism is the first step to quickly restoring the connection.
In this article, we'll examine all possible blocking scenarios, from simple reboots to extensive static IP settings. You'll learn how to diagnose the problem on your phone and router using proven methods. It's important to proceed consistently, eliminating the most likely causes of the failure.
Main reasons for connection blocking
The fundamental cause of the error is the access point (router)'s refusal to assign a network address to your phone. Without this address (IP addresses) data exchange between devices is impossible. Often, the router simply cannot assign a new address from the pool of available ones if their number is limited or all are occupied by "dead" connections.
Another common scenario is changing the Wi-Fi password on your router. If you've changed the security key, but your phone tries to connect using the old saved password, the router will reject the authorization request. In this case, your device will endlessly attempt to log in until you forget the network or update the password.
Security filters are also worth considering. The network administrator may have accidentally or intentionally enabled a "White List" that doesn't include your phone. In this mode, the router ignores all devices except those whose MAC addresses are manually configured.
⚠️ Note: If you're not the network administrator (for example, connecting from an office or hotel), you won't be able to change the router settings. In this case, the only solution is to contact the system administrator or the access point owner.
Don't forget about software conflicts either. Antivirus software on your phone or built-in firewalls can block the connection, deeming the network unsafe. There could also be malfunctions in the operating system's network drivers. Android or iOS are capable of causing false access denials.
Quick steps to restore connection
Before delving into complex settings, it's worth trying the "classic" reboot method, which solves up to 70% of network problems. First, turn off Wi-Fi on the phone itself and turn it back on after 10-15 seconds. This will force the network module to initiate a new search and connection attempt.
If this doesn't help, perform a hard reset of the router. Unplug it for 30 seconds, then plug it back in. Wait until all the lights come on, and then try connecting again. This will clear the DHCP server cache and clear any temporary errors.
The next step is to delete the network profile. Go to Wi-Fi settings, select your network, and tap "Forget network" or "Delete." Then, re-enter the password. This will force a refresh of the encryption keys and connection settings.
☑️ Quick diagnostic checklist
Check the date and time on your device. An incorrect date can cause security certificate errors, causing the router to block the connection. Set automatic time synchronization via the network.
IP and DNS settings on Android and iPhone
Often the problem lies in the incorrect operation of the protocol DHCP, which automatically assigns addresses. In this case, manually setting a static IP address helps. You need to know the gateway address (usually the router's address, for example, 192.168.0.1 or 192.168.1.1).
On Android Go to your Wi-Fi settings, click the gear next to your network, or select "Edit." In the "IP Settings" section, switch from DHCP on StaticIn the IP address field, enter a free address, for example, 192.168.1.128 (if the router's address is 192.168.1.1). The gateway and network prefix length are usually filled in automatically.
On iPhone The procedure is similar: select the network, click the "i" button in the blue circle, scroll down to "IP Configuration," and select "Manual." Enter the IP address, subnet mask, and router. This often solves the problem when the router is frozen and unable to assign an address automatically.
| Parameter | Description | Example of meaning |
|---|---|---|
| IP address | Your phone's unique address on the network | 192.168.1.150 |
| Gateway (Router) | Access point address | 192.168.1.1 |
| Prefix length | Subnet mask | 24 |
| DNS 1 | Primary name server | 8.8.8.8 |
| DNS 2 | Alternative server | 8.8.4.4 |
You can also try entering public DNS servers from Google (8.8.8.8 and 8.8.4.4) or Cloudflare (1.1.1.1). Sometimes providers block access to certain resources or their DNS servers are unstable, which causes connection errors.
Security Issues and MAC Address Filtering
One of the most severe reasons for access denial is filtering by MAC addressEach network adapter has a unique identifier. If the "Allow List" mode is enabled in the router settings, only devices whose MAC addresses are included in the database will be able to connect.
To check, log into your router's control panel (usually through a browser at 192.168.0.1). Find the "Wireless" section -> "MAC Filtering." If the filter is enabled, you'll need to find your phone's MAC address and add it to the list of allowed addresses.
Where can I find the MAC address on my phone?
On Android: Settings -> About Phone -> Status (or in Wi-Fi properties). On iPhone: Settings -> General -> About -> Wi-Fi Address. Please note that modern iOS and Android devices can use a randomized MAC address to protect privacy. For router filtering to work, you may need to disable the "Use Randomized MAC Address" feature in the specific Wi-Fi network settings on your phone.
Also check the encryption type. If the router is configured to work only with WPA3, and your phone only supports WPA2, there will be no connection. Try temporarily changing the router's security type to mixed mode (WPA2/WPA3) or simply WPA2-PSK (AES).
Corporate networks or hotels may use web portal authentication (Captive Portal). In this case, the phone connects to Wi-Fi, but the internet is disabled until you open the browser and log in on the start page.
⚠️ Note: The interfaces of routers from different manufacturers (TP-Link, ASUS, Keenetic, D-Link) vary significantly. Look for sections labeled "Wireless," "Security," "MAC Filter," or "Access Control."
Router and provider malfunctions
Sometimes the problem isn't with the phone, but with the router itself. If the router has been running for several years without interruption, its RAM may be full of errors and its processor may be overloaded with tasks. In this case, even resetting the network settings on the phone won't help.
Check the number of connected devices. If your Wi-Fi network is limited to 32 devices (for example, 32 devices on a cheap router), new connections will be blocked. Disconnect unnecessary devices or increase the IP lease interval in your DHCP settings.
Problems with your provider shouldn't be ruled out either. Maintenance, a broken cable, or outstanding bills can block network access. Check the router's indicator lights: if one is lit or flashing, WAN/Internet red or not lit at all, the problem is in the external channel.
In rare cases, resetting the router to factory settings (button) helps. Reset (on the case). However, this is a radical method, as you will have to reconfigure the network name, password, and internet connection settings (PPPoE, L2TP, etc.) if they are not saved automatically.
Additional diagnostic methods
If standard methods don't work, you can try deeper settings. On Android, you can reset network settings in developer mode. To do this, enable developer mode (tap the build number seven times in "About phone"), then find "Reset Wi-Fi, mobile data, and Bluetooth."
Check if "Data Saver" or "Power Saver" mode is enabled on your phone, which can limit background network activity. Also, try disabling VPNs and proxy servers if you're using them. An incorrectly configured proxy often blocks all traffic.
Make sure your phone has the latest version of the operating system. Older versions Android or iOS may have vulnerabilities or bugs in the network stack that are fixed in new updates.
⚠️ Please note: Router settings and mobile OS interfaces are updated regularly. The layout of menu items may differ from those described. Always consult the official documentation for your device model.
As a last resort, you can try installing a third-party Wi-Fi management app (such as Wi-Fi Analyzer), which can sometimes force a network reconnection or show a more detailed reason for the failure (error code).
Frequently Asked Questions (FAQ)
Why does it say "Access Denied" even though the password is correct?
This means authorization was successful, but the router isn't assigning an IP address to the device. Most likely, the DHCP address pool is full, MAC address filtering is enabled, or there's a problem with the router's network module. Try rebooting the router.
Will resetting network settings on my phone help?
Yes, this solves the problem in most cases. A reset deletes all saved Wi-Fi networks, Bluetooth passwords, and cellular network settings, returning network settings to factory defaults. Afterward, you'll need to re-enter your Wi-Fi password.
What should I do if the error only occurs on one phone?
If other devices are working fine, the issue is local. Check the date and time on your phone, disable the VPN, forget the network, and reconnect. Also, check if your phone has any antivirus software blocking the connection.
Can a virus block Wi-Fi?
Theoretically, yes, malware can change network settings or block traffic. However, more often than not, the cause is software conflicts or router settings. Scan your phone with an antivirus and remove any recently installed suspicious apps.
Why does my iPhone say "Unable to connect"?
On iOS, this is a standard association error message. Often, toggling the "Private Wi-Fi Address" switch in the specific network's settings helps. Try turning this switch off and reconnecting.