• Add an error
55
Insert Image Size must be less than < 5MB.
    Add an error
    Cancel
    55
    More answer You can create 5 answer(s).
      Ask a Poll
      Cancel
      Staff

      Linux error 111 connection refused

      What is Linux error 111 connection refused?

      “Linux error 111 connection refused” is an error that usually occurs when the host file does not contain the correct address or name for the server and can occur if the loopback address is not present.

       

      How can you fix Linux error 111 connection refused?

      Some of the solutions to this error include editing the host file.

       

      Please see our in-depth walk-through solutions below.

      Asked by Sheila on August 11, 2017 in Linux.
      1 Solutions
      Staff

      Solution 1. Edit etc/host File

      “Linux error 111 connection refused” may be caused by wrong hostname and address in the /etc/host file. Please, edit /etc/hosts to fix the problem. To open /etc/host file please see below.

      1. Run a terminal window.
      2. Type in “sudo nano /etc/hosts.”
      3. Enter your domain user password.
      4. Edit the /etc/host file.
        Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST= “input your host name” )(PORT=1521)))

        127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
        ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
        192.168.1.1 “input your host name” oracle

      5. Press Control-x to save.
      6. A confirmation is required, answer Y to confirm.

       

      Answered by Gino Genesis Marasigan on December 3, 2017..