{"id":138,"date":"2022-05-23T04:42:48","date_gmt":"2022-05-23T04:42:48","guid":{"rendered":"http:\/\/sibr.com\/blog\/?p=138"},"modified":"2022-05-23T04:48:29","modified_gmt":"2022-05-23T04:48:29","slug":"filemaker-server-console-on-16001-or-16003-on-headless-server","status":"publish","type":"post","link":"http:\/\/sibr.com\/blog\/2022\/05\/23\/filemaker-server-console-on-16001-or-16003-on-headless-server\/","title":{"rendered":"FileMaker Server Console on 16001 or 16003 on headless server"},"content":{"rendered":"\n<p>If you need to connect to a server, and there is no GUI desktop access, you can normally connection via https without problems. However, if for some reason that access is not working, you might want to connect via port 16001 (primary) or 16003 (secondary\/web worker). But that access is only allowed on the loopback (localhost) interface, so is not normally accessible externally. And since you have no local desktop on the server, you are locked out.<\/p>\n\n\n\n<p>On macOS and Linux systems however there is an alternative if SSH access is available between your desktop and the server. We can create an SSH tunnel between the two systems which will make your remote connection appear as if it was connecting locally to the FileMaker server.<\/p>\n\n\n\n<p>Use the following command to set up a connection to a secondary server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh -L 16003:localhost:16003 -N -f myuser@myworker.domain.com<\/code><\/pre>\n\n\n\n<p>For the <em>myuser@mworker.domain.com<\/em> portion above, replace it with the normal connection string you use to connect to the FileMaker Server.  If connecting to a primary server, you&#8217;ll need to replace the two places where it says <em>16003<\/em> with <em>16001<\/em> instead.<\/p>\n\n\n\n<p>After the password prompt (if any) you will then be returned to the shell prompt.<\/p>\n\n\n\n<p>To connect to your remote system, pop open your browser with this URL for a secondary server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;localhost:16003<\/code><\/pre>\n\n\n\n<p>You should then see the following page in your browser.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"224\" src=\"http:\/\/sibr.com\/blog\/wp-content\/uploads\/2022\/05\/deployment-page.png\" alt=\"\" class=\"wp-image-140\" srcset=\"http:\/\/sibr.com\/blog\/wp-content\/uploads\/2022\/05\/deployment-page.png 560w, http:\/\/sibr.com\/blog\/wp-content\/uploads\/2022\/05\/deployment-page-300x120.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>If you need to connect to a server, and there is no GUI desktop access, you can normally connection via https without problems. However, if for some reason that access is not working, you might want to connect via port 16001 (primary) or 16003 (secondary\/web worker). But that access is only allowed on the loopback &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/sibr.com\/blog\/2022\/05\/23\/filemaker-server-console-on-16001-or-16003-on-headless-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;FileMaker Server Console on 16001 or 16003 on headless server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-filemaker"],"_links":{"self":[{"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":3,"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":144,"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/posts\/138\/revisions\/144"}],"wp:attachment":[{"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sibr.com\/blog\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}