Solved

Different services on same port

Posted on 1997-11-23
2
222 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
2 Comments
 
LVL 2

Accepted Solution

by:
df020797 earned 100 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 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