• Resolved stuartb3502

    (@stuartb3502)


    This seems like a weird one. I am trying to run a shell script on my server and the script accesses a page (provided by a plugin – CFDB) to grab some data into a file.

    When I look at the file, it instead contains my IQ Block Country message to blocked users.

    – The server I am on is in a non-blocked country (checked with Tools).
    – I have tried adding the server to the whitelist of the front and backends
    – I have tried unchecking blocking of the front-end
    – If access the same URL as in the script from a different in country location (i.e. my PC) – it works fine.
    – When I deactivate the plugin my script works OK.
    – I don’t see any log entries for the blocks.

    Any ideas?

    Thanks
    Stuart

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter stuartb3502

    (@stuartb3502)

    I found the answer – I think (at least a solution).

    It was confusion over the IP address of my server at my host – the IP address for the server when the script runs is different to the IP address used for SSH access to the script.

    Although some web sites list both as being in the UK, one is found in the maxmind database as being in the USA which I do not permit backend access.

    I added a whitelist for the IP and it works now.

    Regards
    Stuart

    Plugin Author Pascal

    (@iqpascal)

    Super, which IP address is used on the webserver can indeed be tricky in some situations.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Blocking localhost?’ is closed to new replies.