This is the status message after running stop and then trying stop --force
Last status message:
[ERROR] runwar.context: java.net.ConnectException: Connection refused (Connection refused)
[ERROR] runwar.context: at java.net.PlainSocketImpl.socketConnect(Native Method)
[ERROR] runwar.context: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
[ERROR] runwar.context: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[ERROR] runwar.context: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[ERROR] runwar.context: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[ERROR] runwar.context: at java.net.Socket.connect(Socket.java:607)
[ERROR] runwar.context: at java.net.Socket.connect(Socket.java:556)
[ERROR] runwar.context: at java.net.Socket.<init>(Socket.java:452)
[ERROR] runwar.context: at java.net.Socket.<init>(Socket.java:262)
[ERROR] runwar.context: at runwar.Stop.stopServer(Stop.java:26)
[ERROR] runwar.context: at runwar.Server.startServer(Server.java:211)
[ERROR] runwar.context: at runwar.Start.main(Start.java:123)
[INFO ] runwar.context: Could not stop server. Are you sure it is running, and listing for stop requests on port 34923?
There is no --force parameter to the stop command. This ticket is not a bug so far as I can tell. The error message you pasted above is true and you should debug what’s happening on your machine.
Could not stop server. Are you sure it is running, and listing for stop requests on port 34923
Did you confirm if the server’s stop port is open an listening for connections. Chances are, you started two servers with the same name and it overwrote the configuration for the first server with the configuration for the second server. I would recommend killing all java.exe processes and starting a fresh server. If you do a start --verbose you can see what the stop port is when it starts.
For support questions, I’d recommend posting to the CFML or box team slack.
Thanks I will look at this.
Ah yes I do have two running under the same name, and thanks for the Slack link.