Technical Note: Change HTTP port
The information in this article applies to:
-
AXIS 2400/2401 from F/W version 2.12
Summary
This article shows how to change HTTP port in those video servers this isn't possible in the Administration.
More information
If the HTTP port is changed, it is only
possible to access the video server if the port is known. The port
number have to be entered in the URL:
http://<video server>:<port>
The port is changed by editing the /etc/httpd/conf/boa.conf
Example
-
Open an ftp session towards the video server
and type the command viewed in bold below:
C:\Axis >ftp <ip address of video server>
Connected to <ip address of video server>
220 AXIS 2400 Video Server 2.12 Apr 09 2001 ready.
User (<ip address of video server>:(none)): root
331 User name okay, need password.
Password: pass (if
not changed from default)
230 User logged in, proceed.
ftp> ascii
ftp> cd /etc/httpd/conf
250 Command successful.
ftp> get boa.conf
200 Command okay.
150 Opening data connection.
226 Transfer complete.
ftp: 1934 bytes received in 0,00Seconds 1414000,00Kbytes/sec.
-
At this stage, open the downloaded boa.conf file
in an editor and find the following line:
Port 80
-
Change the port number as requested.
-
Save the file.
-
Go back to the ftp session and continue:
ftp> put boa.conf
200 Command okay.
150 Opening data connection.
226 Transfer complete.
ftp: 1936 bytes sent in 0,00Seconds 1414000,00Kbytes/sec.
250 Command successful.
ftp> by
221 Goodbye.
- Restart the camera. For further access with HTTP, you now have
to append the port number to the DNS name or IP address of the
video server in your browser. For example:
http://camera.axis.com:4567
Axis does not take any responsibility for how these
configuration changes may affect your system. If the modification
fails or if you get other unexpected results, you may have to
restore the factory default settings as described in the User’s
Manual.
|