title: Invalid URI: Invalid port specified when url has more than one colon
body: <p>I am using dnsdynamic.org to point to my personal website hosted at my home. My home ip will be frequently changing once a month. dnsdynamic.org provide a web method call to update ip.</p>
  
  <pre><code>https://username:password@www.dnsdynamic.org/api/?hostname=techno.ns360.info&amp;myip=127.0.0.1
  </code></pre>
  
  <p>When I call this through browser it works perfect. When I try to call this through c# code it throws the following exception.</p>
  
  <pre><code>Invalid URI: Invalid port specified.
      at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
      at System.Net.WebRequest.Create(String requestUriString)
  </code></pre>
  
  <p>Since there is a colon in the url it looks like system.uri try to parse my password as integer.</p>
  
  <p>I tried adding a port after .org</p>
  
  <pre><code>https://username:password@www.dnsdynamic.org:443
  </code></pre>
  
  <p>no luck with this.</p>
  
  <p>could someone please point me how to resolve this error. </p>
  
  <p>I tried with don't escape and escape option while creating uri, still not working.</p>
  
  <pre><code>var ri = new Uri("https://username:password@www.dnsdynamic.org/api/?hostname=techno.ns360.info&amp;myip=127.0.0.1",true);
  </code></pre>
  
  <p>EDIT:
  It looks like the username is causing the problem. My username is my email address. And my email address end with *.com. So uri is trying to parse my password. </p>
  
  <p>Still no solution found to overcome this issue. I can't change my username since dnsdyanmic.org use the email address as username.</p>