When the router and your network IP suddenly mismatch when port-forwarding, the next thing you’ll see on the screen is the error message, “Server IP addr is not in valid range!”
It’s annoying, and that could spoil your online activity at the moment. But what could be wrong? How can you fix that? Worry not. Our tech team has all the fixes to resolve this concern.
Invalid Server IP Range: 6 Surefire Fixes
Fix #1: Open the Ports in Windows Firewall
If you have a static IP addr, you can fix the issue through your Windows Firewall. Your Windows come with a default firewall.
If your ports are closed, your server’s IP addr isn’t in valid range as you port forward.
To enable the ports on your Windows Firewall, see the steps below:
- Access the Control Panel.
- Open Systems & Security.
- Go to Advanced Settings and enter the port you wish to open.
- Input the UDP or TCP protocol numbers.
- Allow the changes, then click Next.
- Set the name of your newly enabled port.
- Then, click Finish.
After these series of steps, the ports for forwarding will open, and the invalid range error should be fixed.
Fix #2: Utilize the DCHP IP Address
Your server IP addr will only be valid once you get a static IP address. To do this, configuring your DNS settings is required.
If you’re using Windows, setting up your static IP is easy as long as you follow the instructions below:
Steps to Configure DNS
- Access your Control Panel.
- Select Network & Internet.
- Choose your network.
- Then, select the Networking option.
- Click Advanced, and select the DNS option.
- Utilize 220.127.116.11 for the Primary and Secondary DNS sections.
- Then, click the Apply button.
Steps to Generate a Static Server IP Address
- Access your Command Prompt (CMD).
- Input “/ipconfig all.”
- Take note of your IPv4 address, Default Gateway, and Subnet Mask.
- Then, copy & paste this command: “netsh interface IP set address name= (name of router’s network) static 10.1.2.220 255.255.255.0 10.1.2.1”
5. Using your network’s router name, change the “Ethernet0.”
6. Using your server IPv4 address, change the “10.1.2.220”
7. Using your device’s subnet mask, change the “255.255.255.0.”
8. Using your device’s default gateway, change the “10.1.2.1.”
9. Click Enter.
With the following steps, you can create a static IP addr for your server in Windows. Now you can port forward without any issue.
Note: The command is space- and case-sensitive. Make sure to input as is to avoid errors.
Fix #3: Use Your Internal IP Address
When you port forward, you need to use your server’s internal IP addr. Your network gives your IPv4 IP address and your public IP address.
You may encounter an invalid range error if you use the wrong IP address within the port-forward options.
Here’s how to fix this:
- Access CMD.
- Input “/ipconfig” and click Enter.
- From the address list, copy your IPv4 addr.
- Access your port-forwarding page on the settings of your router.
- Choose the protocols and hit Next.
- Paste your IPv4 addr and click Apply and Save.
What is an Invalid IP Address?
The main reason your IP address is invalid is if there’s a conflict or an actual range issue in your circumstance.
Here are some samples in which you might encounter an invalid IP address:
Fix #4: Double Check the Values
We suggest checking the numeric values. You shouldn’t miss one thing for this to work.
- Check if you’re utilizing your Windows server’s IPv4.
- Check the port-forwarding section if there needs to be more data.
- Inspect the range of the port
- Verify if the source and destination connect to the same internet network
- Check if the ports you use are enabled in the Windows Firewall
Fix #5: Ensure Your Firmware is Up-to-Date
If you still encounter the error, your firmware  might be outdated. We suggest updating all your devices, including your router, destination server, and any third-party source.
Update your router through the Control Panel, and upgrade your destination device by updating your pending updates on Windows.
Note: Make sure to restart your destination device and router before retrying to forward ports.
Fix #6: Reset Your Router
Lastly, you can reset your router if any of the above fixes don’t work. You can ask for your network’s assistance in resetting the router.
But if you want to do it yourself, you can refer to the following:
- Open the Control Panel of your router, and click the Reset option.
- Choose the Reset to Default option.
- Select OK to confirm the action.
- Wait for 5 minutes or until the process is completed.
After the reset, input the enable ports in the port forwarding section and verify if your server IP is now in a valid range.
There are several ways to troubleshoot the “Server IP addr is not in valid range!” message, as there are different sources that caused the issue.
One or a combination of these six methods will immediately resolve it. Make sure to follow the methods in order for the best results.