Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I'm getting favicon.ico error

Tags:

html

netbeans

I downloaded the Netbeans IDE to code in HTML. I'm new to it. When I run my code, chrome is opening and everything is working just fine. I'm getting some sort of error in the Output - Browser Log.

Failed to load resource: net::ERR_EMPTY_RESPONSE (20:00:55:963 | error, network) at http://localhost:8383/favicon.ico 

How do I fix it?

like image 440
Rockstar5645 Avatar asked Jun 26 '15 14:06

Rockstar5645


People also ask

What is Cannot get favicon ico?

Try placing the ico file in an images folder in your root. That's where many browsers look for favicon. And that's something to keep in mind. Favicon is a very loose standard, if you can even call it that, which is supported by browsers, not by the server.

How do I fix my favicon?

To fix this problem, you need to first remove the favicon that you had uploaded using Customizer. You then need to install a plugin called 'Favicon by RealFavicon Generator'. This plugin allows you to upload the image that you prefer to use as your favicon. It needs to be in png or jpg format.

What is favicon ico file?

The favicon. ico file is a small graphic icon that is used by some browsers (including Microsoft Internet Explorer and Mozilla Firefox) to enhance the display of address bar information and "favorites" bookmark lists. When requesting a resource, these browsers also try to locate the site's custom favicon.


2 Answers

I have had this error for some time as well. It might be some kind of netbeans bug that has to do with netbeans connector. I can't find any mention of favicon.ico in my code or in the project settings.

I was able to fix it by putting the following line in the head section of my html file

<link rel="shortcut icon" href="#"> 

I am currently using this in my testing environment, but I would remove it for any production environment.

like image 121
element11 Avatar answered Sep 20 '22 18:09

element11


The accepted answer didn't work for me, I had to add a value to the href attribute:

<link rel="shortcut icon" href="#" /> 
like image 30
Agu Dondo Avatar answered Sep 18 '22 18:09

Agu Dondo