Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

Don’t know if you resolved this problem, but I have just resolved the same issue from the other side. It appears Selenium and Firefox have difficulty talking to each other – I suspect Firefox ‘evolve’ changes over a number of releases, so backward and forward compatibility are not always guaranteed, and incompatibility always seems to … Read more

Forward X11 failed: Network error: Connection refused

PuTTY can’t find where your X server is, because you didn’t tell it. (ssh on Linux doesn’t have this problem because it runs under X so it just uses that one.) Fill in the blank box after “X display location” with your Xming server’s address. Alternatively, try MobaXterm. It has an X server builtin.

How can I specify a display?

The way that X works is the same as the way any network program works. You have a server of some description (in this case, the X display server) which runs on a specific machine, and you have X clients (like firefox) that try to connect to that server to get their information displayed. Often … Read more

What does (~0L) mean?

0L is a long integer value with all the bits set to zero – that’s generally the definition of 0. The ~ means to invert all the bits, which leaves you with a long integer with all the bits set to one. In two’s complement arithmetic (which is almost universal) a signed value with all bits set to one is -1. The reason for … Read more