[1+1=2]
OneAndOneIs2

Sun, Feb 03, 2008

[Link][Icon]F***ing Vista

Sick of the problems of being constantly on the wrong PC, or stuck behind a firewall, I've bought myself a virtual server. Somewhere to SSH-tunnel to and to rsync my files to, etc.

I've used Putty and Firefox to connect to the web via a remote server before - I wrote a guide on it, in fact... But I could not get it working on Vista. It just insisted that the proxy server was refusing connections, try as I might.

It worked fine from my other PC, and from the laptop when booted into Ubuntu, so I knew it wasn't the connection itself.

I even resorted into installing Cygwin just so that I could run openSSH itself. No joy. Even turning on the "verbose" switch, there was not a single connection to the SSH tunnel happening.

So that made it the Vista version of Firefox that was the problem. It was configured to connect to "localhost" port "5678" just as the Ubuntu and other PC versions were. I was using the same SSH command. What was the problem?

It finally occurred to me to try "127.0.0.1" instead of "localhost" and suddenly, it works flawlessly. Vista, it appears, doesn't know the meaning of "localhost"

Useless bloody OS. It took me over an hour to work out that one stupid error. What moron came up with THAT idea? [Smiley]

6 comments • Categories: Omni, Rant, Technology, My Life

Comments:

Comment from: Citronella [Visitor] Email · http://unsubstantialbubbles.blogspot.com
Meh. "localhost" is way too clear. It's better to obfuscate it for the people who don't really know what they're doing.
PermalinkPermalink 03/02/08 @ 21:06
Comment from: oneandoneis2 [Member] · http://geekblog.oneandoneis2.org/
Obviously! A string of numbers and periods is so much easier to understand...
PermalinkPermalink 03/02/08 @ 21:09
Comment from: Citronella [Visitor] Email · http://unsubstantialbubbles.blogspot.com
Funny!
PermalinkPermalink 04/02/08 @ 05:53
Comment from: ginny [Member] Email · http://iamgenevieve.wordpress.com/
....and BREATHE
PermalinkPermalink 04/02/08 @ 16:23
Comment from: oneandoneis2 [Member] · http://geekblog.oneandoneis2.org/
Shan't :P
PermalinkPermalink 05/02/08 @ 22:25
Comment from: goonie [Visitor] Email
It should be resolved by your hosts file. (like it is on linux, XP, OSX etc...)
(if it isn't there, add it. By default, my Vista has it there, so I don't have to add it)

It could be that you have ip version 6 (ipv6) enabled, and it is defaulting to ::1:, instead of the software allowing it to try again at ipv4 127.0.0.1

if so, just comment out that entry in the hosts file. (or disable/uninstall ipv6)

don't know why I'm rambling on about this...you've figured out a workaround anyways! I guess it is because it is late, and I can't find the site that brought me here anymore!!

ah well...;)
PermalinkPermalink 13/02/08 @ 08:12

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Categories

July 2008
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Search

Misc

XML Feeds

What is this?
eXTReMe Tracker

Valid XHTML 1.0 Transitional

Valid CSS!

[Valid RSS feed]

powered by
b2evolution

blank