<p></p>
<p><b>@eht16</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2585#discussion_r487581843">src/libmain.c</a>:</p>
<pre style='color:#555'>> +    gint port_number;
+
+       if (! g_file_test(configfile, G_FILE_TEST_IS_REGULAR))
+       {
+               geany_debug(
+                       "No user config file found, use default TCP port (%s).",
+                       SOCKET_WINDOWS_REMOTE_CMD_PORT);
+               g_free(configfile);
+               return SOCKET_WINDOWS_REMOTE_CMD_PORT;
+       }
+       g_key_file_load_from_file(config, configfile, G_KEY_FILE_NONE, NULL);
+       port_number = utils_get_setting_integer(config, PACKAGE, "socket_remote_cmd_port",
+               SOCKET_WINDOWS_REMOTE_CMD_PORT);
+       geany_debug("Using TCP port number %d for IPC", port_number);
+       g_free(configfile);
+       g_key_file_free(config);
</pre>
<p>Absolutely. At some point I thought adding it and then forgot it :(.<br>
Thanks for reminding me and even do the code :).</p>
<p>I lowered the minimum port value as it seems Windows has no lower boundaries for priviledged ports.<br>
Tried port 1 and a few others < 1024 without problems.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2585#discussion_r487581843">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYKBOBNXSOWLBHZCFDSFU5MXANCNFSM4RJX2QYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6MUAJZNQZWVGLG7XTSFU5MXA5CNFSM4RJX2QYKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODUGEFMA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2585#discussion_r487581843",
"url": "https://github.com/geany/geany/pull/2585#discussion_r487581843",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>