https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&feed=atom&action=history
How to configure single server to listen on multiple TCP ports - Revision history
2024-03-28T11:43:03Z
Revision history for this page on the wiki
MediaWiki 1.34.2
https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&diff=5049&oldid=prev
Jamshed at 11:36, 6 March 2007
2007-03-06T11:36:48Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 11:36, 6 March 2007</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>(This question was asked at AOLSERVER@LISTSERV.AOL.COM mailing lists and answered by Dossy.)</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>(This question was asked at AOLSERVER@LISTSERV.AOL.COM mailing lists and <ins class="diffchange diffchange-inline">was </ins>answered by Dossy.)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>__NOTOC__</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>__NOTOC__</div></td></tr>
</table>
Jamshed
https://panoptic.com/mediawiki/aolserver/index.php?title=How_to_configure_single_server_to_listen_on_multiple_TCP_ports&diff=5048&oldid=prev
Jamshed at 10:07, 6 March 2007
2007-03-06T10:07:42Z
<p></p>
<p><b>New page</b></p><div>(This question was asked at AOLSERVER@LISTSERV.AOL.COM mailing lists and answered by Dossy.)<br />
<br />
__NOTOC__<br />
<br />
Single instance of AOLServer can be configured to listen on more than one TCP port simple by loading the "nssock" module twice. Following example shows what modifications are necessary in aolserver config file.<br />
<br />
== Modify Socket driver module section ==<br />
<br />
<br />
#<br />
# Socket driver module (HTTP) -- nssock<br />
#<br />
ns_section "ns/server/${servername}/module/'''nssock'''"<br />
ns_param port 80<br />
ns_param hostname $hostname<br />
ns_param address $address<br />
<br />
ns_section "ns/server/${servername}/module/'''nssock2'''"<br />
ns_param port 81<br />
ns_param hostname $hostname<br />
ns_param address $address<br />
<br />
<br />
== Modify Modules section ==<br />
<br />
#<br />
# Modules to load<br />
#<br />
<br />
ns_section "ns/server/${servername}/modules"<br />
ns_param '''nssock''' ${bindir}/nssock.so<br />
ns_param '''nssock2''' ${bindir}/nssock.so<br />
<br />
<br />
[[Category:Documentation]]<br />
[[Category:Tutorial]]</div>
Jamshed