=== modified file 'errors/templates/ERR_AGENT_CONFIGURE'
--- errors/templates/ERR_AGENT_CONFIGURE	2010-03-16 23:53:33 +0000
+++ errors/templates/ERR_AGENT_CONFIGURE	2011-04-10 07:34:53 +0000
@@ -27,7 +27,7 @@
 For Firefox browsers go to:
 <ul>
 <li>Tools -&gt; Options -&gt; Advanced -&gt; Network -&gt; Connection Settings</li>
-<li>In the HTTP proxy box type the proxy name %h and port 3128.</li>
+<li>In the HTTP proxy box type the proxy name %h and port %b.</li>
 </ul>
 </div>
 
@@ -35,7 +35,7 @@
 For Internet Explorer browsers go to:
 <ul>
 <li>Tools -&gt; Internet Options -&gt; Connection -&gt; LAN Settings -&gt;Proxy</li>
-<li>In the HTTP proxy box type the proxy name %h and port 3128.</li>
+<li>In the HTTP proxy box type the proxy name %h and port %b.</li>
 </ul>
 </div>
 
@@ -43,7 +43,7 @@
 For Opera browsers go to:
 <ul>
 <li>Tools -&gt; Preferences -&gt; Advanced -&gt; Network -&gt; Proxy Servers</li>
-<li>In the HTTP proxy box type the proxy name %h and port 3128.</li>
+<li>In the HTTP proxy box type the proxy name %h and port %b.</li>
 </ul>
 </div>
 

=== modified file 'src/errorpage.cc'
--- src/errorpage.cc	2011-03-16 09:29:40 +0000
+++ src/errorpage.cc	2011-04-10 07:33:40 +0000
@@ -670,6 +670,11 @@
 #endif
             p = "-";
         break;
+
+    case 'b':
+        mb.Printf("%d", getMyPort());
+        break;
+
     case 'B':
         if (building_deny_info_url) break;
         p = request ? ftpUrlWith2f(request) : "[no URL]";


