the lsof
command tells me launchd
is listening on port 4444:
$ sudo lsof -i tcp:4444
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
launchd 1 root 32u IPv4 0xfe4e7e9bb5c1a5 0t0 TCP localhost:krb524 (LISTEN)
launchd 1 root 46u IPv4 0xfe4e7e9bb5c1a5 0t0 TCP localhost:krb524 (LISTEN)
I'm trying to set up a Selenium (https://www.seleniumhq.org/) Server whose default port is 4444 - I realise I could change Selenium's port, but I don't recall having this clash on Macs previously (I guess prior to Tiger)
Is it possible/viable to have launchd
run on a different port?
EDIT:
I found the following info by searching which plist
files refer to port 4444 - it shows that it's part of the Server
configuration. The Wiki feature of Server is currently turned OFF. Is it safe to edit this file to change the port setting?
/Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.auth.plist:19: http://localhost:4444/auth /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.changepassword.plist:19: http://localhost:4444/changepassword /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.collabd.plist:24: http://localhost:4444/svc /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.collabd.plist:33: http://localhost:4444/streams/activity /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.wiki.plist:24: http://localhost:4444/preview /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.wiki.plist:33: http://localhost:4444/files /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.wiki.plist:42: http://localhost:4444/upload_file /Applications/Server.app/Contents/ServerRoot/private/etc/apache2/webapps/com.apple.webapp.wiki.plist:51: http://localhost:4444/app-context/wiki