Mystery
Mystery

Reputation: 81

Running multiple servers on same box?

I was trying to figure out that if i have a box running Apache on it on some port (Example: - 80) so is it possible that i can run django-server on the same box but different port (Example:- 8000, that is, the port other than Apache ?

thank you for the reply. :-)

Upvotes: 0

Views: 109

Answers (2)

Strahinja Tasic
Strahinja Tasic

Reputation: 1

You must not overlap the ports and you can have as many services as you want (as long as have enough resources to run them). You can always check which port is used by which services using netstat -tlpn. netstat command is part of net-tools package.

Best regards.

Upvotes: 0

Alex O
Alex O

Reputation: 8164

Yes, it is possible. It's the very purpose of port numbers to offer different services on the same address.

Upvotes: 3

Related Questions