Solved

Different services on same port

Posted on 1997-11-23
2
201 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!

Join & Write a Comment

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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now