Accessing localhost and nginx

Discussion in 'Installation and "How-To" Questions' started by brainforge, Feb 20, 2018.

  1. brainforge

    brainforge Kilo Poster

    I found I could not access my default domain using wget from the command line.
    I could access other domains and subdomains on the server (with same IP) OK.

    # wget
    Connection refused

    Looks like Nginx is unable to accept connects on

    Looking at /etc/hosts I found this: brainforge localhost.localdomain localhost

    Changing it to this solves the immediate problem, with no obvious issues brainforge localhost.localdomain localhost

    Is there a better / correct way of doing this?
    Might Plesk one day change it back?

Share This Page