{"id":4096,"date":"2026-06-08T18:01:45","date_gmt":"2026-06-08T15:01:45","guid":{"rendered":"https:\/\/support.withsecure.com\/en\/?post_type=support_article&#038;p=4096"},"modified":"2026-06-08T18:01:45","modified_gmt":"2026-06-08T15:01:45","slug":"unable-to-connect-to-the-policy-manager-server-using-policy-manager-console","status":"publish","type":"support_article","link":"https:\/\/support.withsecure.com\/en\/support-articles\/unable-to-connect-to-the-policy-manager-server-using-policy-manager-console\/","title":{"rendered":"Unable to connect to the Policy Manager Server using Policy Manager Console"},"content":{"rendered":"<h3>Issue:<\/h3>\n<p>When trying to connect to the Policy Manager Server, Policy Manager Console prompts an error message: &quot;Cannot connect to the server: localhost:8080. Check that the host name and port number are correct. Port number 8080 is used by default.&quot;<\/p>\n<p>Policy Manager Server doesn&#39;t start and checking the Status Monitor, all ports are shown with red color, signifying a problem.<\/p>\n<p>End-points cannot connect to the Policy Manager Server to download policies or database updates.<\/p>\n<h3>Resolution:<\/h3>\n<p>Ensure that Policy Manager Console and Policy Manager Server are running the same version.<\/p>\n<p><b>For Policy Manager for Windows:<\/b><\/p>\n<ul>\n<li>Follow this <a href=\"https:\/\/community.withsecure.com\/en\/kb\/articles\/5633-unable-to-connect-to-the-policy-manager-server-after-upgrading-policy-manager\" target=\"_blank\" rel=\"noopener\">Knowledge base Article<\/a><\/li>\n<li>You can also check in the log files if<b> WebUI-Deamon<\/b> is working. If not, start it first and then try again to connect to the Policy Manager Console.<\/li>\n<\/ul>\n<p>If the problem still persist<\/p>\n<p>1. M<span class=\"short_text\"><span class=\"alt-edited\">ake sure that there is not a port conflict:<\/span><\/span><\/p>\n<ul>\n<li><span class=\"short_text\"><span class=\"alt-edited\">Run command prompt (cmd.exe) as an administrator<\/span><\/span><\/li>\n<li>Enter the command <span style=\"font-family: Courier New,Courier,monospace;\">&quot;netstat -a -b &gt; C:\\port.txt&quot;<\/span><\/li>\n<li>Check <span><span>in <span style=\"font-family: Courier New,Courier,monospace;\">port.txt<\/span> the ports set in the F-Secure Policy Manager are not used. <\/span><\/span>If the listening port configured for <span style=\"font-family: Courier New,Courier,monospace;\">Policy Manager Server<\/span> service is active and listening, also ensure the port returns the Policy Manager home page when you access the relevant page locally or over the network (use a browser e.g. locally -&gt; <span style=\"font-family: Courier New,Courier,monospace;\">http:\\\\localhost<\/span>).<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> i<span class=\"short_text\"><span>f you find a conflict<\/span><\/span>, you can solve it changing the ports or by uninstalling \/ deactivating the service causing the conflict.<\/p>\n<p>If the problem still persist, maybe is the WithSecure Policy Manager installation broken, in this case contact our <a href=\"https:\/\/www.withsecure.com\/gb-en\/support\/contact-support\/call-support\" target=\"_blank\" rel=\"noopener\">WithSecure Support<\/a> directly.<\/p>\n<p>2. Invalid startup parameters in registry can also prevent Policy Manager Server from starting. Please review the settings:<\/p>\n<pre>\n<span style=\"font-family: Courier New,Courier,monospace;\">HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Data Fellows\\F-Secure\\Management Server 5\nadditional_java_args<\/span><\/pre>\n<p>Valid configuration settings for the<b>\u00a0additional_java_args <\/b>are listed and available in <a href=\"https:\/\/community.withsecure.com\/en\/kb\/articles\/5631-policy-manager-advanced-configuration-settings\" target=\"_blank\" rel=\"noopener\">WithSecure Community<\/a>.<\/p>\n<p>This is an example of valid settings:<\/p>\n<pre>\n<span style=\"font-family: Courier New,Courier,monospace;\">-DmaxUploadedPackageSize=10485760 -DforbidDownloadingPublicKey=false -Dh2ConsoleEnabled=true -DallowUnsignedWithRiwsAndMibs=true<\/span>\n<\/pre>\n<p>Below are some examples of invalid settings:<\/p>\n<pre>\n<span style=\"font-family: Courier New,Courier,monospace;\">D:\\f-secure\\backup-folder<\/span>\n<span style=\"font-family: Courier New,Courier,monospace;\">\n-maxUploadedPackageSize=10485760\n\nDmaxUploadedPackageSize=10485760<\/span>\n\n<span style=\"font-family: arial,helvetica,sans-serif;\">3. Re-install WithSecure Policy Manager on top of the current installation .<\/span>\n\n\n<\/pre>\n<p><strong>For Policy Manager for Linux:<\/strong><\/p>\n<p>Edit the <span style=\"font-family: Courier New,Courier,monospace;\"><code>\/etc\/opt\/f-secure\/fspms\/fspms.conf<\/code><\/span> configuration file as below.<\/p>\n<div>\n<ol>\n<li>Create a new line with the parameter <strong>additional_java_args<\/strong>.<\/li>\n<li>Specify the Java system properties with the value in quotes in the following format:\n<pre>\n<span style=\"font-family: Courier New,Courier,monospace;\">-DpropertyName=value<\/span><\/pre>\n<p>If you want to specify multiple properties, use space as the delimiter. Property names and values are case-sensitive. An example:<\/p>\n<pre>\n<span style=\"font-family: Courier New,Courier,monospace;\">additional_java_args=&quot;<code>-DmaxUploadedPackageSize=10485760<\/code>&quot;<\/span><\/pre>\n<\/li>\n<li>Restart the <span style=\"font-family: Courier New,Courier,monospace;\">Policy Manager Server<\/span> service to make the new configuration settings take effect.<\/li>\n<\/ol>\n<p><b>In case MySQL database is in used:<\/b><br \/>We recommend to do the following:<\/p>\n<ol>\n<li>Ensure that the following entry is there in MySQL configuration file, my.ini:\n<ul>\n<li><span style=\"font-family: Courier New,Courier,monospace;\">max_allowed_packet=100M<\/span><\/li>\n<\/ul>\n<\/li>\n<li>Restart MySQL service.<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Policy Manager Console prompts an error message: &#8220;Cannot connect to the server: localhost:8080. Check that the host name and port number are correct. Port number 8080 is used by default.&#8221;<\/p>\n","protected":false},"template":"","support_article_product":[106],"class_list":["post-4096","support_article","type-support_article","status-publish","hentry"],"acf":{"source_foreign_id":"000012812","source_version":3,"source_system":"salesforce","source_date_updated":"2026-06-08 15:01:45","import_hash":"2c62607106107cc868867a38613eb52d3b5374b0","vanilla_article_id":32304,"vanilla_url":"https:\/\/community.withsecure.com\/en\/kb\/articles\/32304-unable-to-connect-to-the-policy-manager-server-using-policy-manager-console","vanilla_kb_id":30,"vanilla_category_id":103,"machine_translated":false,"reactions_helpful_yes":0,"reactions_helpful_no":0},"_links":{"self":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article\/4096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article"}],"about":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/types\/support_article"}],"wp:attachment":[{"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/media?parent=4096"}],"wp:term":[{"taxonomy":"support_article_product","embeddable":true,"href":"https:\/\/support.withsecure.com\/en\/wp-json\/wp\/v2\/support_article_product?post=4096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}