• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM Remote & MMM-Admin-Interface Error: ipwhitelist error: Access Denied Error

Scheduled Pinned Locked Moved Unsolved Bug Hunt
2 Posts 2 Posters 1.5k Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    shabbs3283
    last edited by Aug 9, 2018, 6:31 PM

    I am using RP-3. I installed both the module MMM Remote & MMM-Admin-Interface. Both are giving the same error i.e Access Denied to IP Address: 192.168.2.15

    my configuration is below:

    /* Magic Mirror Config Sample
    *

    • By Michael Teeuw http://michaelteeuw.nl
    • MIT Licensed.
    • For more information how you can configurate this file
    • See https://github.com/MichMich/MagicMirror#configuration

    */

    var config = {
    address: “0.0.0.0”, // Address to listen on, can be:
    // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
    // - another specific IPv4/6 to listen on a specific interface
    // - “”, “0.0.0.0”, “::” to listen on any interface
    // Default, when address config is left out, is “localhost”
    port: 8080,
    //ipWhitelist: [““127.0.0.1”, “::ffff:127.0.0.1”, “::1”, 192.168.2.1, ::ffff:192.168.2.15”], // Set [] to allow all IP addresses
    // or add a specific IPv4 of 192.168.1.5 :
    // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
    // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],

    language: "en",
    timeFormat: 24,
    units: "metric",
    
    modules: [
    	{
    	    	module: "MMM-Admin-Interface",
    		},
    	 
    	{
    		module: "alert",
    	},
    	{
    		module: "updatenotification",
    		position: "top_bar"
    	},
    	{
    		module: "clock",
    		position: "top_left"
    	},
    	{
    		module: "calendar",
    		header: "Indian Holidays",
    		position: "top_left",
    		config: {
    			calendars: [
    				{
    					symbol: "calendar-check-o ",
    					url: "webcal://www.calendarlabs.com/ical-calendar/ics/33/India_Holidays.ics"
    				}
    			]
    		}
    	},
    	{
    		module: "compliments",
    		position: "lower_third"
    	},
    	{
    		module: "currentweather",
    		position: "top_right",
    		config: {
    			location: "Patna, India",
    			locationID: "1260086",  //ID from http://www.openweathermap.org/help/city_list.txt
    			appid: "a07381eea7234555b1f6b781545bb4d6"
    		}
    	},
    	{
    		module: "weatherforecast",
    		position: "top_right",
    		header: "Weather Forecast",
    		config: {
    			location: "Patna",
    			locationID: "1260086",  //ID from http://www.openweathermap.org/help/city_list.txt
    			appid: "a07381eea7234555b1f6b781545bb4d6"
    		}
    	},
    	{
    		module: "newsfeed",
    		position: "bottom_bar",
    		config: {
    			feeds: [
    				{
    					title: "Times Of India",
    					url: "https://timesofindia.indiatimes.com/rssfeedstopstories.cms"
    				}
    			],
    			showSourceTitle: true,
    			showPublishDate: true
    		}
    	},
    ]
    

    };

    /*************** DO NOT EDIT THE LINE BELOW ***************/
    if (typeof module !== “undefined”) {module.exports = config;}

    **Any Help will be greatly appreciated.

    Thanks in advance**

    1 Reply Last reply Reply Quote 0
    • N Offline
      ndom91
      last edited by ndom91 Aug 9, 2018, 6:52 PM Aug 9, 2018, 6:50 PM

      It doesn’t look like you have any IPs specifically whitelisted… you have to change your line:

      //ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, 192.168.2.1, ::ffff:192.168.2.15"], // Set [] to allow all IP addresses

      To something like this:

      ipWhitelist: [“127.0.0.1”, “192.168.2.15"], // Set [] to allow all IP addresses

      So basically uncomment the line and make sure to add your IP. You may want to just whitelist the entire subnet, to do that you would add "192.168.2.0/24"

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy