On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at MyPlesk.com/Plesk360/Platform360 please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

Unable to log in to Plesk as a Plesk administrator: Access for administrator from address 203.0.113.2 is restricted in accordance with IP Access restriction policy currently applied

Follow

Comments

11 comments

  • Avatar
    Ramakrishna B

    Thanks a lot...!!!

    0
    Comment actions Permalink
  • Avatar
    Orange Look

    where to enter those mentioned script in Windows Server 2012 i used ? Is t thru DOS command, or Windows Explorer or the other ? Am using Plesk 17.5.3 with Windows Server 2012. Please bright me up. Thank you Integrator

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    Hi @Orange Look,

    In order to execute those command on a Windows server, you need to login to the server over RDP and open CMD (Command Prompt). You may search world-wide how to open CMD on Windows, but I also inserted instructions for you in this article above.

    0
    Comment actions Permalink
  • Avatar
    Alex Kozak (Edited )

    Privet Yulia!

    [vopros ot chajnika ;) ] How do I "...log into the Plesk UI locally"? (Linux server, Windows 7 on my laptop, if that helps)

    ...I tried following instructions for connecting using SSH with Putty and that didn't work (fatal error, connection time out)

    Spasibo OGROMNOE

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    @Alex Kozak

    Привет Алекс! Под Plesk UI подразумевается логин в панель в браузере: это интерфейс Plesk. Для этого используется следующий адрес: https://10.10.10.10:8443  (замените 10.10.10.10 на реальный серверный IP адрес или на хостнейм). Подробности смотрите здесь:

    https://docs.plesk.com/en-US/onyx/administrator-guide/about-plesk/logging-in-to-plesk-for-the-first-time.74769/

    https://support.plesk.com/hc/en-us/articles/115003241249-How-to-access-enter-Plesk-Control-Panel-

    Но эта статья посвящена тому, когда выдается ошибка при попытке логина на https://10.10.10.10:8443. В данном случае, нужно залогиниться на сам сервер, где установлен Plesk: нужно зайти под пользователем root. Информация про то, как логиниться на сервер через SSH доступна здесь: https://support.plesk.com/hc/en-us/articles/115000172834

    Если Вы не можете войти по SSH на сервер, обратитесь к Вашему провайдеру или владельцу сервера: сторона, предоставившая Вам доатсуп в Plesk также может подсказать как правильно логиниться по пользователем root на сервер.

    0
    Comment actions Permalink
  • Avatar
    Disabled Account

    Personally, I do not like this solution. Plesk should get rid of the plesk utility directory logic. With a serious redesign, you would not need to write the documentation for both, Windows and Linux architectures. IMHO, it should be something like this:

     

    [root@plesk ~]# plesk admin --add-allowed-ip 192.168.1.1

    C:\Users\jouni> plesk admin --add-allowed-ip 192.168.1.1

    PS C:\Users\jouni> plesk admin --add-allowed-ip 192.168.1.1

     

     

    2
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @Jouni Kivilahti

    Hi!

    Thank you for the feedback. We are doing our best to constantly improve Plesk.
    Please, create a feature suggestion at Plesk User Voice. The top-ranked suggestions are likely to be included in the next versions of Plesk.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Rober MS

    In case you're Plesk server owner, it's required to contact the company, providing the server, to enable SSH for you.

    0
    Comment actions Permalink
  • Avatar
    dropboxpsy (Edited )

    Hey all!

     

    Running Plesk Obsidian 18.0.27 Update 1.

    Worked for me, depsite logical irrelevance with 'deny' key value in request

    plesk db "INSERT INTO cp_access (type, netaddr, netmask) VALUES ('deny' , '203.0.113.2', '255.255.255.255')"

    Thanks!

     

    0
    Comment actions Permalink
  • Avatar
    Eduardo Broering

    Hello,

    I create a simple shell script to turn easy these steps. Because in Covid period we have some collaborators accessing Plesk Admin from different location. So this script help us to solve this. So if anybody need, I'm sharing the script below:

    #!/bin/sh

    if [[ -n $(plesk db "SELECT val FROM misc WHERE param='access_policy'" | grep deny) ]]; then
    if [[ $1 = "-a" && -n $2 ]]; then
    plesk db "INSERT INTO cp_access (type, netaddr, netmask) VALUES ('deny' , '$2', '255.255.255.255')"
    echo "IP $2 adicionado com sucesso"
    elif [[ $1 = "--delete" && -n $2 ]]; then
    plesk db "DELETE FROM cp_access WHERE type = 'deny' AND netaddr = '$2'"
    echo "IP $2 removido com sucesso"
    else
    echo "Usage: ipplesk [OPTION] [IP]"
    echo " "
    echo "Options:"
    echo " -a - Adicionar IP na lista de liberação de acesso"
    echo " --delete - Remover IP da lista de liberação de acesso"
    echo " --help - Ajuda de opções"
    fi
    else
    echo "Plesk não está com modo restritivo habilitado"
    fi

    To use this script, just create a ipplesk file with the content above in /usr/sbin and run chmod +x /usr/sbin/ipplesk

    After that, you can run ipplesk -a [IP] from any directory.

    PS.: Some improvement to validate parameters could be a good thing if you have newbies in your team. So change the script as you wish. :D

     

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Eduardo Broering

    Thank you for sharing!

    Indeed, it may be useful for other Pleskians.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request