Tatham Oddie

Local proxies with IE7 – Solved

with 2 comments

This has been bugging me …

IE7 always bypasses the proxy when connecting to localhost, irrelevant of what options you choose. This makes life painful if you’re trying to use some like Fiddler when developing a site locally.

If you’re hosting locally with IIS, you can just connect using http://machinename/ instead of http://localhost/.

Unfortunately we don’t have this flexibility with Casini (the one included with VS 2005) as it only accepts connections to http://localhost:xyz/.

Today, I came across the solution thanks to Dominick Baier!

Use http://localhost.:xyz/ (notice the added period between the hostname and the colon).

  • IE7 is no longer sure if it’s local or not, so we get the proxy,
  • it still gets routed correctly, and
  • Casini still accepts the connection.

Written by Tatham Oddie

April 19, 2007 at 12:21

Posted in Uncategorized

2 Responses

Subscribe to comments with RSS.

  1. [...] 25th, 2007 When writing my Local proxies with IE7 – Solved post, Windows Live Writer helpfully turned http://localhost:xyz/ into a link for me. [...]

  2. thanks. it really solved my problem.

    paiman

    June 18, 2009 at 04:48


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 28 other followers

%d bloggers like this: