<p>One of our users reported being unable to map one of the network printers ( Windows cannot connect to the printer ). Although we use a script to map drives and printers, this particular printer could not be added using the script nor manually.</p>
<p>When user browsed the server and tried to add the printer manually, he received the following error message:</p>
<p><a href="https://www.wincert.net/wp-content/uploads/2018/04/connect-to-printer.png"><img class="alignnone wp-image-2514 size-full" src="https://www.wincert.net/wp-content/uploads/2018/04/connect-to-printer.png" alt="connect to the printer" width="367" height="170" /></a></p>
<p><strong>Connect to Printer</strong><br />
<strong>Windows cannot connect to the printer. The specified port is unknown.</strong></p>
<p>I have managed to <strong><span style="text-decoration: underline;">map the printer manually when I have accessed the print server using IP address</span></strong> instead of the server name.</p>
<p>This was just a temporary solution and I&#8217;m yet to figure out what was the issue here. It appears as a DNS issue, but I still can&#8217;t confirm the culprit.</p>
<p>What is even more strange, the printer was normally mapped the second day with the script that is using a hostname of the print server.</p>

Windows cannot connect to the printer
