Description of problem: As per https://openshift.redhat.com/community/forums/openshift/enable-whois-command-on-the-server, user is requesting 'whois' cmd enabled/installed on the platform.
Replied in the thread. This may be a limited use case.
This is an SELinux restriction, taking it.
*** Bug 847834 has been marked as a duplicate of this bug. ***
Commit 2a057163 adds support for contacting whois servers in the selinux policy.
Pull request: https://github.com/openshift/li/pull/252
Pull request merged.
This bug has been verified and fixed. Please refer to the details as below: Build: rhc.0.97.12.gem devenv_2029 Verified steps: 1. Create an ruby app #rhc app create -a ruby19 -t ruby-1.9 -p redhat 2.SSH into the app and check the port 43 status: [ruby19-joycedev2.dev.rhcloud.com ~]\> irb irb(main):001:0> require "socket" => true irb(main):002:0> socket = TCPSocket.new("whois.nic.it", 43) => #<TCPSocket:fd 5> irb(main):003:0> socket.write ("example.it\r\n") => 12 irb(main):004:0> response = socket.read => "" irb(main):005:0> puts response => nil The port 43 is opened be default. So mart it as verified. Thanks.