I tried to follow the instruction from
https://helpx.adobe.com/experience-manager/kt/platform-repository/using/dispatcher-macos-technical-video-setup.html
to set up an AEM dispatcher on my MacBook.
The version of my operating system is Catalina 10.15.1, so there should not be an issue of macOS Mojave. Since AEM does not support builtin Apache anymore, I installed brew's Apache on homebrew. Then, I start my AEM server on my localhost:4053, and started my Apache dispatcher.
Then, I go to the following link:
http://aem-publish.local/content/we-retail/us/en.html
It gave the error of
aem-publish.local refused to connect.
What can be possibly causing this error?
The problem was just that The tutorial uses port 80, but Apache uses port 8080 by default.
I just have to change the port number to 8080 on aem-publish.local.conf file.
Or, I can change the port number to 80 in httpd.conf file.
Related
I have installed tomcat on ubuntu 18.4. post default installation and jave home configurations able to see webserver page as response for http://:8080.
Later generated keystore and updated the details in conf/server.xml to enable https. Even after this am not getting tomcat default page with https, though getting web page over http / 8080 port.
Any pointer to debug / enable https on tomcat.?
Is Apache tomcat version 8.5 compatible with Ubuntu 18.04 version.?
After reviewing the server.xml, connector node for https was made with smaller case. was not aware of it as case sensitive. after making appropriate changes able to access https also.
I installed XAMPP 1.7.7 for testing on the old php version. Current XAMPP is running fine. I changed the ports in httpd.conf from 80 to 8081, and in httpd-ssl.conf from 443 to 4434.
Still, when trying to start apache, I get the error
"error: apache was stopped unexpected. This might be caused by a blocked port, missing dependencies,..."
I also changed these ports again (they were not used in both cases).
I run XAMPP as an administrator and I disabled my firewall without any results... What are other possible options? (Error-)Logs are empty.
maybe the following information might help:
I am using windows 10, xampp 1.7.7 portable, and although I changed the ports, when I run XAMPP, it tells me the following:
Problem detected!
Port 80 in use by "Unable to open process" (PID 4)!
Apache will NOT start without the configured ports free!
Try to do this:
Run -> CMD, type services.msc and stop the program:
Web Deployment Agent Service
Afterwards try restarting XAMPP and say if it works or not!
I fixed it via reinstalling into another directory.
I've been able to rather easily get facebooks hhvm working from prebuilt debian packages as well as compile it, and afterwards to run it behind apache as a proxy. The problem with the proxy setup is though, that I can't get response headers other than http status code 200 - like 304 for example - through. It's not the proxy config of apache, but something wrt hhvm and apache interact, or even in hhvm.
Anyway, HHVM officially stopped supporting the standalone server, and they're moving over to fastcgi, and as all of our servers are running Debian, I don't have access to mod_proxy_fastcgi without compiling it (the only backports I found of apache 2.4 don't have mod_proxy_fastcgi backported unfortunately).
So I'm currently trying to get HHVM to run behind the old mod_fastcgi with apache 2.2. But currently I'm only getting "connect() failed" in the error log of apache, while hhvm is listening on :::1080
The important part of my apache config is
RemoveHandler application/x-httpd-php
FastCgiExternalServer /home/www/hhvm/hostname/htdocs/php5.fcgi -flush -host ip6-localhost:1080
AddType application/x-hhtpd-fastphp5 .php
Action application/x-httpd-fastphp5 /php5.fcgi
Alias /php5.fcgi /home/www/hhvm/hostname/htdocs/php5.fcgi
netstat also lists hhvm as listening on :::1080 and I can connect to it via telnet
Any Ideas on what I need to change so it works?
Looks like a IP6 port problem. Try \[ip6-localhost\]:1080 . Not sure if this has side effects in Apache.
How do ports work with IPv6?
I'm new to liferay. I installed the liferay+tomcat bundle and tried to start liferay by running the startup.bat file. The liferay setup wizard should open in the browser by itself but it is not happening. The following is being displayed. How do I open the liferay setup wizard?
Apache - version 2.2.22
PHP - version 5.4.5
Server is up and running
The default Apache context is www in the Apache installation folder
It seems something else is running on port 8080 - e.g. some installation of Apache. You can try this if you just access http://localhost:8080 without starting tomcat/Liferay first.
Either you need to shut that down, move it to another port or move Tomcat/Liferay to another port. If you want the later, look for a file called conf/server.xml, in there locate the three active port=... instructions and change them to unused ports. Then start again.
You can change the port number by editing server.xml , you can find it in tomcat>>conf>>server.xml
Change all the ports from 8080 to say 9080 and restart the server.
I mistaken had CATALINA_HOME configured to a different tomcat setup and not the tomcat bundled with Liferay. This made it trigger the port 8080 of the other setup which in return blocked the port before Liferay could listen to it. Make sure CATALINA_HOME is not pointing to some other tomcat installation. Make sure port 8080 , 8005 and 8009 is reserved for tomcat.
I am currently trying to install apache tomcat for running on localhost as I am planning to run a new development project using Java.
Will this be a problem if I have already apache webserver installed locally on my machine already? In other words, will there be any port conflicts or anything other issues with the two servers running on the same machine?
No. Because Tomcat uses default port 8080 for the webserver while the "normal" webserver uses port 80 for html displaying. You can change that in the catalina properties of the tomcat server but on first install the defaults are not causing problems with a port 80 webserver.