Solved

Need to know how to bind a port to an ip address in Linux(Redhat)

Posted on 2011-09-08
4
568 Views
Last Modified: 2012-05-12
I have installed a backup client on one of our redhat servers. When I try to connect on the port it uses, it does not allow it. When I run netstat -tulpn | less

tcp        0      0 169.254.95.119:3817         0.0.0.0:*                   LISTEN      32322/ytlinsdr

Is there a way to bind it to the actual ip address of the ethernet interface. It should look like  192.168.1.62:3817
0
Comment
Question by:J C
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 2

Expert Comment

by:McRonis
ID: 36503895
Have you tried to ping it ?
0
 

Author Comment

by:J C
ID: 36504037
Are you familiar with the type of ip address I noted above? I need to make sure the port 3817 is bound to 192.168.1.62 so that I can connect to it from my backup server.
0
 
LVL 29

Accepted Solution

by:
Jan Springer earned 500 total points
ID: 36504141
The configuration file of the backup client software should allow you to specify the IP address.

Additionally, if it's listening on a 169.254 address, then that's the default in the config file or it doesn't see the 192.168.1.62 address.
0
 

Author Comment

by:J C
ID: 36505910
I was able to add a line to the Backup App's config that binded the port to the appropriate ip address.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question