Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Different services on same port

Posted on 1997-11-23
2
Medium Priority
?
252 Views
Last Modified: 2010-03-18
Is there a way to use 2 different services on the same port by assigning them on 2 different ip addresses eg. eth0 and eth0:0 ( telnetd and httpd ).
0
Comment
Question by:kalad8
[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 Comments
 
LVL 2

Accepted Solution

by:
df020797 earned 200 total points
ID: 1586969
Yes, you can have different services on one port.You dont even have to use different IP addresses.

The technique is called "virtual hosting". It works like this: When a package comes to the port used by lets say 2 softwares it unpacks the IP and tcp layer and then check for what hostbyname (name mapped to the IP) it was sent to. It then forwards the package to the right software. Same techinique can be used differenting the services by IP adresses with eth0 and eth0:0 as an example. Then its checks hostbyaddr (IP number) and sends to the right software.

For all of the above to work the softwares you want to listen on the port have to support this virtual hosting technique.The operative system in itself cant do it for you, so it must be a part of the software.
0
 

Author Comment

by:kalad8
ID: 1586970
Ok , i sort of figured it out when i read the HOWTO for apache and virtual hosting. Seems like i have to look for a telnet daemon up to the job then.
Thanks....
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

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…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

730 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