Skip to content

Commit

Permalink
Merge pull request #2892 from wazuh/2888-error-port-443-is-being-used…
Browse files Browse the repository at this point in the history
…-by-another-process

Port variable name fixed
  • Loading branch information
teddytpc1 authored Mar 27, 2024
2 parents b90e03f + c80b685 commit 0f3a455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unattended_installer/install_functions/dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function dashboard_changePort() {

chosen_port="$1"
http_port="${chosen_port}"
wazuh_dashboard_ports=( "${http_port}" )
wazuh_dashboard_port=( "${http_port}" )
wazuh_aio_ports=(9200 9300 1514 1515 1516 55000 "${http_port}")

sed -i 's/server\.port: [0-9]\+$/server.port: '"${chosen_port}"'/' "$0"
Expand Down

0 comments on commit 0f3a455

Please sign in to comment.