I/O Error on starting firefox

I was trying to open the port for my ftp end also I�ve triedto start firefox and so i received the following error: Input / Output Error. When i try to start that one in console i receive the following: No Protocol Especified No Protocol Especified Error: Cannot open display: :0,0

Have you recently updated firefox or one of its add-ons? A restart of firefox usually prevents these problems from reoccurring. I have not seen this particular error message before though.