-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Wireless, Networking & Internet
- I have hp office jet pro 9018 dns/gateway error

Create an account on the HP Community to personalize your profile and ask a question
09-18-2023 07:27 PM
I did factory reset, change dns to manual 8.8.8.8
Still getting can't connect.
What else could the problem be it seems to me it's something going on with the server on HP part because I can print out stuff from the website and I can print stuff from the app but I can't connect to the web service to get my ink and my email.
Solved! Go to Solution.
Accepted Solutions
09-23-2023 01:39 AM
I DID IT! I SOLVED IT!
Ok so the problem was when I did s factory reset or whatever happened it made my serial number too long for this model number. So it would automatically not even try to connect
I know earlier I mention this but I was on Reddit someone who use work for hp told me this is a known problem with this model, due to it being the last model with Eprint in this series. After power surges or anything it set the serial numbers to 00010.
You have to manually change the serial number in engineering mode to the one on the back. I don't want cause no trouble so I won't tell you the procedure unless allowed.
But after changing serial number it connected automatically, and I now have email and ink services back baby!
So for the future I would suggest if someone having problems connecting verify the serial number on printer matches the one on the printer screen. It'll save you guys a lot of time.
I want to thdnks you dragon for giving me all the information you could. Most people would have been stop responding. Your suggestion triggered my brain and help solve this mystery.
09-18-2023 07:28 PM
A few years ago when I had my HP Photosmart it did this and I had to flush my something on Windows and that somehow got it to work I'm just trying to find what is the process I mean do anybody have any idea.
09-19-2023 10:38 AM - edited 09-19-2023 10:48 AM
Welcome to the HP Community --
==========================
DNS
Modify network adapter properties from the Control Panel
OR
Use the Command line tool to enable disable / enable the network adapter(s)
Windows key + X Open Command Prompt (Admin)
List network adapter(s) properties
netsh interface show interface
To enable NIC type, the following command:
netsh interface set interface "network_adapter_name" admin=enable
(e.g netsh interface set interface "Ethernet01" admin=enable)
To disable NIC type, the following command:
netsh interface set interface "network_adapter_name" admin=disable
(e.g netsh interface set interface "Ethernet01" admin=disable)
Example
netsh interface set interface "Wi-Fi" admin=enable
Close the command prompt.
==================================================
Reset the connection between computer and network
Issue the following commands in CMD
ipconfig /flushdns
nbtstat -R
nbtstat -RR
netsh int reset resetlog.txt
netsh int ip reset
netsh winsock reset
Exit > Return to close the cmd window > Restart the computer and log in
==================================================
DNS Servers
DNS server list by country
If you do not have an ISP, or if you are having continuing connection issues, use Google Public DNS.
==========================
Printer - EWS - Connection
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dual Band Network - Considerations
Reminders
If the printer supports it, connecting using Ethernet is generally a better choice.
Some printers, particularly older models, only support Wireless at 2.4GHz
Some printers support Wireless at both 5GHz and 2.4GHz – but not at the same time
Regardless, if the printer won't work or cannot connect to your 5GHz SSID named network, connect to the 2.4GHz network.
If you are running a Dual Band Network,
Check that the router is set up to broadcast all frequencies it supports.
Next,
If your router supports it,
On your router:
Create a separate SSID named network for each frequency supported by the router
What? Create one SSID named network for 5GHz and one SSID named network for 2.4GHz
and
Connect the printer to the SSID named network on the frequency / band you want it to use.
In general,
- 2.4GHz is less fussy about obstacles and supports a longer distance (separation) between router and device (printer)
- 5GHz is faster
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Example – EWS – IPv4
EWS > HP Document / How-to
Use the HP printer Embedded Web Server (EWS)
Ethernet
Open your Browser > Type / enter the Printer IP address into URL / Address bar
Tab Network > Wired (802.3) > IPv4 Configuration
Wireless
Open your Browser > Type / enter the Printer IP address into URL / Address bar
Tab Network > Wireless (802.11) > IPv4 Configuration
As Available:
Tab Network > Wireless (802.11) > Advanced
Network Interface on / off, Network SSID name, Security Settings, Passphrase / Password
Select and connect to the correct SSID / network name for the bandwidth you are using.
Note: It is not mandatory that you use a manual / static IP address. Doing so can improve stability.
Example - EWS - iPV4
EWS_9025_Network_IPv4_Configuration_3
=+=+=+=+=+=+=+=+=+=+=+=+=+=
References / Resources
Open your Browser > Type / enter the Printer IP address into URL / Address bar
Tab Settings > Restore Defaults > Select one of Restore Factory Defaults / Restore Network Settings / HP Secure Erase
--------------------------------------------------------------
Wi-Fi connection is lost after router or network settings change
HP printers - Wi-Fi connection is lost after router or network settings change
Restore Wi-Fi setup mode on your HP printer See the one-minute summary video to the top of the document.
Troubleshoot a Wi-Fi connection to an HP printer
Offline Condition
Although the printer appears to be switched on, it does not communicate with other devices on your network.
Consider >> Restart All
Restart Everything, including the router that controls your network
Next,
Offline - Known solutions, presented in the order to be completed / considered
HP printer is offline or not responding - Windows / Mac
Section “Advanced Troubleshooting” > Solutions specific to Windows / MacOS / HP Smart (Printer Unavailable)
===============================================
HP Printer Home Page - References and Resources
Learn about your Printer - Solve Problems
“Things that are your printer”
When the website support page opens, Select (as available) a Category > Topic > Subtopic
NOTE: Content depends on device type and Operating System
Categories: Alerts, Troubleshooting, Ink & Paper, HP Software / Drivers / Firmware Updates , Setup & User Guides, Product Specifications, Account & Registration, Warranty & Repair
Open
HP OfficeJet Pro 9018 All-in-One Printer
Thank you for participating in the HP Community --
People who own, use, and support HP devices.
Click Yes to say Thank You
Question / Concern Answered, Click my Post "Accept as Solution"
09-19-2023 02:00 PM
Not sure -- it's been a lot of years since I've seen any DNS issues.
The fault likely does not lie with the printer -- could, but not likely.
In general, as noted in EWS > Network > General > Network Summary
The printer would be connected to your router -
For example, 192.168.2.1
Normally, if not being used, Wi-Fi Direct would be switched OFF -- it can be switched on and used to connect the printer directly to the computer using the printer's wireless radio.
Example - EWS - Wi-Fi Direct - Status / Edit
9025_EWS_Network_Wi-Fi_Direct_Status_Edit_1
Wi-Fi Direct - Instructions and information
Page 139
Thank you for participating in the HP Community --
People who own, use, and support HP devices.
Click Yes to say Thank You
Question / Concern Answered, Click my Post "Accept as Solution"
09-19-2023 04:08 PM
Ok the wifi direct tip worked like a charm now at least under HP network configuration page under internet is now says connected after I turned off Wi-Fi direct. It still won't let me enable web services but I'm going to unplug the printer for a minute first and then try again and see what happens. This is the first time that the printer actually says Internet connected
09-19-2023 04:18 PM
I have two different internet one Xfinity, one Verizon 5g.
The problem is the printer setting or something with it's setting to routers.
Once I turned off Wi-Fi direct the DNS error is got the printer now says connected. But still when setting up web service it says server busy try again later which is new I'm so mentally exhausted I do not understand why all sudden this happen.
09-19-2023 10:57 PM
I've been reading the forms and I found two cases that was solved by disabling web service then or uninstalling it then reinstalling it on my network except set up when I go to the IP page I don't have that option.