Emqx: Url not found - client

I downloaded emqx-windows-v3.2.3 from EMQ X Broker .
After unzip and start C:\emqx\bin>emqx start it, when I run its dashboard on chrome http://localhost:18083 I got URL not found ...
What is the problem?

It may be that your port 8080 is occupied, which causes the management module not to start successfully. Please check the 8080 listener before starting EMQ X.

Related

XAMPP Tomcat Not Stopping

I have XAMPP installed on my Windows machine,
I am unable to stop the Tomcat server.
I have tried to kill the process with the Process Id as well,
But weirdly it's not showing in the Task Manager nor the local Services,
Which I referred from here -
apache service not stopping in xampp
Here's my XAMPP Control Panel screenshot -
Here's the Task Manager, I can't find the Process ID 3104 as shown in the XAMPP Control Panel-
I did run the command "Services.msc" to find and stop it but, no luck there either.
You should check the PID and verify that it is not associated with any other service/process mistaken for Tomcat by XAMPP.
In my case I had Jenkins running on port 8080 and starting XAMPP it was "guessing" that Tomcat was already running:
In reality, looking at the PID (198092 in my case) it was associated with java.exe:
and this was a process generated by my Jenkins server running on that port:
This is why you cannot stop Tomcat from there... (it is not Tomcat running on 8080).
To verify this and properly start Tomcat you can try this:
Stopping Jenkins:
Will remove the service running on 8080 and XAMPP is able to correctly detect that Tomcat is not running:
At this point you can Start Tomcat in XAMPP (and it should start for real this time):
Going to the localhost page, port 8080 you will have a proof of it:
If you want you can now successfully stop it from XAMPP:
On Windows:
XAMPP opens a shell(CMD) on starting tomcat just close that shell.

While installing tomcat 7 manually I am facing this issue

To install tomcat7 I have done:
a. downloaded apache-tomcat7 tar.gz file
b. extracted in /usr/share directory
c. starting tomcat using /usr/share/tomcat/bin/startup.sh
getting message:
Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr/lib/jvm/java-7-oracle
Using CLASSPATH: /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
Tomcat started.
but when I am going through the URL : localhost:8080 it is saying unable to connect.
Can somebody help me out from this problem.
Thanks in advance
Please check if any other application is holding the port:8080.
Locally tomcat points to 8080 and if any other applicationis running on that port then Tomcat won't start. Tomcat 7 is not an issue here.
The main culprit on your machine may be Skype. check in the processes and kill it and try the url again. Use an open source tool called Diamond port to check which processes are running on 8080

Changing port on XAMPP

I just install XAMPP on my mac and I'm unable to Run Apache Web server. It does not let me since I'm already running a different server. How can I stop the current one or how can I use a different port.
That's because you aren't in the correct file.Try
/Applications/XAMPP/xamppfiles/etc/httpd.conf
instead of
/Applications/XAMPP/xamppfiles/apache2/conf/httpd.conf
Find and open httpd.conf in XAMPP apache configuration directory, find the line that says Listen 80, change that to port you wish e.g: 8000 so that line becomes Listen 8000. Then save the file and restart apache from xampp
To access type http://localhost:8000 on your browser address bar, and open

To run selenium server

When I try to run server(rc) in command prompt it is saying it is already used. So, I run the server in 5555 and changed the same in script. However, it still shows
WARN - Failed to start: SocketListener0#0.0.0.0:4444
Have you tried to stop the server using the below link?
http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
Just open the above link in the browser you are using to run the tests.
After the opening the above link, the selenium server stops.
Then you can proceed with starting the server from port 4444.
Close the browser that is running on port 4444 and then restart the selenium server
I had the same problem,
type this instead
webdriver-manager --seleniumPort 4455 start
it will start it on port 4455 (you can try different numbers as well)

How can I determine which port my GlassFish server is running on?

I have started a GlassFish server on my machine.
How can I determine which port the GlassFish server is running on?
I have tested both 8080 and 4848 ports.
You can try this, it may help
asadmin get server | grep listener
http://blogs.oracle.com/openroad/entry/changing_default_glassfish_port_numbers
For windows this may help (from the comments of the link)
<GLASSFISH_PATH>\\bin>asadmin.bat --port 15050 get server.network-config.network-listeners.network-listener.\*
Or you can look at the ports from configuration files (in the file search for: ):
<GLASSFISH_PATH>\\glassfish\\domains\\domain1\\config\\domain.xml

Resources