Help answer threads with 0 replies.
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 07-31-2014, 03:47 PM   #1
LQ Newbie
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Open port on Linux

We have SAP HANA DB running on Linux server. The server has 3 NICs configured for Administration, Data and User network access with IPs XX.XX.XX.1, XX.XX.XX.2 and XX.XX.XX.3. I need to open a port for database connections originating from a windows server (ODBC) on the Data network. All 4 servers are under the same network, there should not be any firewall issue, but checking through Telnet command i figured that the port is open for Admin and User network and connections work fine when i used there host details, but it is not open for Data network.

I can log into Admin network (XX.XX.XX.1) via PUTTY (root) but not into Data network (XX.XX.XX.2) directly.

Is there a way i can use the putty session in Admin network to open the required port in Data network? If not what would be the best way of doing it.
Old 08-01-2014, 02:31 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,480

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Check your DB configurations to ensure that your DB is set to listen on all three networks rather than just Admin/User.

If you are unsure how to do this then you should contact your application vendor.
1 members found this post helpful.
Old 08-01-2014, 04:29 AM   #3
LQ Newbie
Registered: Jun 2014
Posts: 11

Rep: Reputation: Disabled
Since you stay on the same subnet, the remote firewall is not involved. That doesn't mean that the local firewall isn't blocking the port.

To give you the exact solution, a little more info needs to be provides (OS/Distro/...).

For iptables, you can check the current rules with:
iptables -L -n to see which ports are opened to where over which ip.


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
How to open a port on linux sharad Linux - Security 2 01-09-2007 07:32 AM
OPen a specified port on linux lieuquocdat Linux - Software 1 08-06-2006 07:39 PM
how to open a rare port in linux arnab_pal Linux - Networking 3 03-29-2006 03:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration