LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-31-2014, 04:47 PM   #1
farukhkhan123
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, 03:31 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
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, 05:29 AM   #3
jensd
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.
 
  


Reply


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 08:32 AM
OPen a specified port on linux lieuquocdat Linux - Software 1 08-06-2006 08:39 PM
how to open a rare port in linux arnab_pal Linux - Networking 3 03-29-2006 04:32 PM


All times are GMT -5. The time now is 10:45 AM.

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