You are here

Setting up EmCommMap and having issues.... Lots of issues...

1 post / 0 new
KE0RSX's picture
Setting up EmCommMap and having issues.... Lots of issues...
Hi, everyone,

So, I've followed the steps at and have it working sort-of. If I have my install set at "local", everything works. But, when I change it to "my-install", I get "Page cannot be reached" errors. Specifically, I get "Connection Refused" errors.

Here's what my config.js looks like (note, I'm only showing you up to part of the "local" section, because that all works):

ac0ec-emcommmap-admin@ac0ec-emcommmap:/var/www/html/EmComMap/html$ head -45 config.js
// Copyright 2018 Dan Ruderman (
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU Affero General Public License as published
//    by the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    GNU Affero General Public License for more details.
//    You should have received a copy of the GNU Affero General Public License
//    along with this program.  If not, see

const VERSION = "v0.4b"; // software version

const TEST_MODE = true; // true means all messages and statuses will be prepended with "TEST: "

const ADMIN_EMAIL = ""; // fill this in with the email contact for credentials requests

const RUN_LOCATION = "my-install";

if(RUN_LOCATION == "my-install") {
    var TILE_SERVER = '{z}/{x}/{y}.png'; // set <host> to your tile server
    var TILE_SERVER_OPTS = {
        maxZoom: 18,
        attribution: 'Map data &copy; <a href="">OpenStreetMap</a> contributors, ' +
            '<a href="">CC-BY-SA</a>, ' +
            'Server courtesy of <a href="">OpenMapTiles</a>'
    var DEFAULT_DB_HOST = ''; // set <host> to your CouchDB server
    var LOCAL_DB_NAME = 'emcommap';
} else if(RUN_LOCATION=="local") {
// For running on local computer with internet access to external tile server

I'm looking for guidance on what I'm doing wrong. I've tried it with the hostname (ac0ec-emcommmap.local.mesh) as well as the IP Address. And, a question about the CouchDB setup. What do I put in for users? I don't remember it trying to log me in when I was able to access via the "local" install. I've only got one user in the database because I really don't know what needs to be there (or how it determines if a user is valid or not).

Thanks for your help.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer