Check that there are no firewalls or security software blocking the connection to the printer. You may need to temporarily disable any antivirus or firewall software to test the connection.