?
Solved

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

Posted on 2011-09-08
4
Medium Priority
?
575 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month9 days, 10 hours left to enroll

762 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