[SOLVED] Using IIS, Tomcat and Apache on the same machine? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- egsuh · 2018-05-29 00:32 I know this is not very right place to ask this question, but I found many beginners visit this forum, and hope that this kind of discussion will help many visitors of this forum as well as me. The question is as the subject says. Is it possible? I read someplace that IIS and Apache can run on the same PC if they use different port numbers (e.g. IIS - 80, Apache - 8080).   Also I know that Apache and Tomcat may run on the same machine. But is it possible to run all three on one machine?  If yes, how should I configure those web- servers / WAS? ---------------------------------------------------------------------- taazz · 2018-05-29 00:57 this is a socket problem you can run as many web servers as you like as long as they do not cross each others paths that means different port or different cards/ips or both. How to set them up is also a matter of socket programming usually the ports below 1024 are reserved for known/registered services like http, ftp, nntp etc, the ports over 1024 are public to be used by any one, the only thing to check is that there is no other application using the ports you choose eg firebird or any sql server some logging or heart bit services that might be unique in your network etc. if you search the net for known tcp ports you will find a wealth of information on which ports are used by what eg https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers ---------------------------------------------------------------------- Leledumbo · 2018-05-29 20:22 Listen on different ports, you're done. Those 3 are sure possible to change port they listen to. ---------------------------------------------------------------------- egsuh · 2018-06-08 03:12 Really thank you to both of you, taazz and Leledumbo. It is of great help.