Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-06-2017, 01:02 PM   #1
LQ Newbie
Registered: May 2017
Posts: 4

Rep: Reputation: Disabled
TigerVNC connection refused 111

Im installing Rocks Cluster 6.2 with CentOS 6. I'm using the command #rocks-console compute-0-0 to be able to view the nodes during their download with TigerVNC. When i do this it gives me the error message "unable connect to socket: Connection refused (111)."

Looking online i think I've identified the problem to be closed firewall ports, but i dont know how to open them.

Any help is welcome, thanks in advance.
Old 06-06-2017, 03:12 PM   #2
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
# firewall-cmd --permanent --add-service vnc-server
# systemctl restart firewalld.service
How about that? If you need to open specific port:

# firewall-cmd --zone=public --add-port=5904/tcp
if that is port that you need. If you want to do it permanently, add --permanent as it is shown before. That is if you use default firwalld zone which is public.

Oh, sorry, disregard this, firewalld is not part of centos 6, thought that it is centos 7.

Last edited by dejank; 06-06-2017 at 03:58 PM. Reason: ehh, missed that it is centos 6
Old 11-02-2017, 12:52 PM   #3
LQ Newbie
Registered: Nov 2017
Posts: 1

Rep: Reputation: Disabled
I am facing the same issue on rocks 6.2 ( Centos 6.6), i can not connect to my compute node and to a new installed NAS through VNCtiger. I have the same error message. "unable connect to socket: Connection refused (111)."

I have even try terminal command and forcing vnc to ssh port 22 with " #rocks-console compute-0-0 - p 22", but no way, same error pointing out authentication issue .

Did you find out a solution to the issue ?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR:Connection refused (111) annaabhi Linux - Server 1 05-24-2011 06:10 AM
Squirrelmial ERROR:Connection refused (111) shipon_97 Linux - Newbie 3 12-22-2010 08:46 AM
(111) Connection refused - please help kambele Linux - Newbie 1 09-28-2009 12:44 PM
Socket Connection Failed: 111 Connection Refused degraffenried13 Linux - General 3 05-31-2009 02:17 AM
bluetooth nightmare connection refused (111) bbmak Linux - Wireless Networking 0 07-08-2007 02:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration