Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 69750  / 1 Year ago, fri, december 2, 2022, 3:35:37

My website work only if I run:




domain.com:44400




How to set port 44400 as the default in Apache?



I need have access by domain.com not domain.com:44400


More From » server

 Answers
5

To make the server accept connections on both port 44400, on all interfaces, use:



Listen 44400


To make the server accept connections on port 44400 for one interface, use



Listen domain.com:44400


Open your apache2.conf file. To do so, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:



sudo gedit /etc/apache2/apache2.conf


Setup Listen as follows:



Listen 44400


Save and close the file. Restart the apache:



sudo /etc/init.d/apache2 restart


Verify that Apache listing:



sudo netstat -tulpn | grep :44400

[#31332] Sunday, December 4, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ickump

Total Points: 234
Total Questions: 124
Total Answers: 111

Location: Jordan
Member since Fri, Apr 8, 2022
2 Years ago
ickump questions
Mon, Aug 16, 21, 08:46, 3 Years ago
Mon, Aug 22, 22, 02:44, 2 Years ago
Sun, Oct 2, 22, 07:13, 2 Years ago
;