Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Different services on same port

Posted on 1997-11-23
2
Medium Priority
?
260 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 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

886 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