Description of problem: From my Openshift app, I am trying to connect to whois servers via client sockets on port 43 (default port for whois requests). The port 43 seems closed. I describe the problem and how to reproduce it in here: https://openshift.redhat.com/community/forums/openshift/problems-installing-the-ruby-gem-whois Version-Release number of selected component (if applicable): How reproducible: You can run this short Ruby scripts (even with irb): require "socket" socket = TCPSocket.new("whois.nic.it", 43) socket.write ("example.it\r\n") response = socket.read puts response socket.close # close socket when done On my laptop works and I get the whois info for the specified domain name. But on the Openshift server, I get this error: irb(main):002:0> socket = TCPSocket.new("whois.nic.it", 43) Errno::EACCES: Permission denied - connect(2) from (irb):2:in <code>initialize' from (irb):2:in</code>new' from (irb):2 from /opt/rh/ruby193/root/usr/bin/irb:12:in `<main>'
Isn't this the same as bug 843315? The SELinux policy blocks port 43.
It is a duplicate of 843315 - thanks! *** This bug has been marked as a duplicate of bug 843315 ***