I've seen this error so many times when I first open the Firefox Browser toolbox:
Error opening Browser Toolbox:
Component returned failure code: 0x804b000d (NS_ERROR_CONNECTION_REFUSED) [nsIInputStream.available]
The fix is almost always to close and reopen the toolbox, and it'll connect just fine.