Navigate to Advanced/Security and find the option labeled Access Control.If they're not applicable to your router check online for the default login credentials for that brand and model. The username and password are usually "Admin". Once inside the login menu, enter your login credentials to gain entry to your router settings.If you don't know your router's IP address you can check the bottom of the router. Use your PC to open your preferred web browser and enter the IP address of your router inside the address bar and hit Enter.This is usually done by parents to limit their kids' time on the Xbox.
You can get the error if you previously blocked the Xbox console from being able to access your network at a router level.
Next, navigate to the Network settings from the Network tab and choose Manual under Alternate Wireless MAC address.Then move over to your console and press the Xbox button on your controller to bring up the guide menu.Scroll down to the network that is shared by both your Xbox console and the PC and copy the Physical address in order to paste it on your Xbox to use it as the MAC address on your console.Within the CMD window, enter the following command: "ipconfig/all" and press Enter to get an overview of your current IP configuration.Note: When you get to the User Account Control (UAC) prompt, click Yes to grant admin access to the CMD window. Next, enter "cmd" in the box and press Ctrl + Shift + Enter to open an elevated Command Prompt window.First press Windows key + R on the PC connected to the same network as your Xbox One console to open the Run dialog box.