Hi, 
<div><br></div><div>I have the following code, </div><div><br></div><div><div> $sock = new IO::Socket::INET (  LocalHost =&gt; &#39;0.0.0.0&#39;,</div><div>                                LocalPort =&gt; &#39;80&#39;,</div>
<div>                                Proto =&gt; &#39;tcp&#39;,</div><div>                                Listen =&gt; 30,</div><div>                                Reuse =&gt; 1);</div><div><br></div></div><div>which will fail because my port 80 on localhost is used by web server. </div>
<div>How can I change the code to listen on the 2nd ip address? </div><div><br></div><div>I.e., my current IP address is 192.168.0.100, it is also accessible at 192.168.0.101. I want that visiting 192.168.0.100 will land to my normal web server, while visiting 192.168.0.101 will be handled by the code above. </div>
<div><br></div><div>Please help. </div><div><br></div><div>Thanks</div><div><br></div><div><br></div>