Apache and Nginx both can run simultaneously. But as per their behavior, they both listen to the same port, so the default config doesn't allow them to start at the same time. And their port number will be different.