HTTPD.CONF port change to 8888

henkoegema

Joined
Jul 12, 2007
Messages
37
Likes
0
Points
0
#1
In my file /etc/httpd/conf/httpd.conf I changed port 80 to port 8888. See:

# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
# e.g. "Listen 12.34.56.78:80"
#
# To allow connections to IPv6 addresses add "Listen [::]:80"
#
Listen 0.0.0.0:8888

But I can't logon with http://192.168.1.100:8888 :(

Howerver with http://192.168.1.100 I can.
It looks like that the change didn't make any effect.
(I also rebooted the server)
 

eboza

Joined
Mar 27, 2007
Messages
45
Likes
0
Points
0
#2
I think it's a issue related to https redirection.

Please keep in mind that http conections are redirected to https port (443). So, what port you want to change? http (80) or https (443)?

- Edwin
 

henkoegema

Joined
Jul 12, 2007
Messages
37
Likes
0
Points
0
#3
I want to be able to remotely logon to my Elastix server. (and my ISP blocks all port under 1024 !)

So, is it possible to make a redirection of (external)port 8888 to internal port 443 ?

Or can I just change port 443 to port 8888 to remotely login ?

Tnx
Henk
 

henkoegema

Joined
Jul 12, 2007
Messages
37
Likes
0
Points
0
#4
I still haven't been able to login remotely. :(

Have also installed WEBMIN, but facing the same kind of problem here too.
 

eboza

Joined
Mar 27, 2007
Messages
45
Likes
0
Points
0
#5
Hi, in order to change the https port to 8888, you have to edit the "/etc/httpd/conf.d/ssl.conf" file, en change 2 lines:

Listen 8888

and

<VirtualHost _default_:8888>

Then you have to restart httpd service:

service httpd restart

Also, you have to point in your browser:

https://192.168.1.100:8888/

- Edwin
 

henkoegema

Joined
Jul 12, 2007
Messages
37
Likes
0
Points
0
#6
Thanks Edwin for your effort to help. :lol:

Unfortunately I can't login to Elastix anymore.
With https://localhost:8888, I get the login screen, but my username and/or password are not recognized anymore. :(


Henk

Post edited by: henkoegema, at: 2007/07/21 13:00<br><br>Post edited by: henkoegema, at: 2007/07/21 13:07
 

henkoegema

Joined
Jul 12, 2007
Messages
37
Likes
0
Points
0
#7
Please ignore my previous message.

It works fine the way you explained. ;)

(I made the mistake myself with the password, I thought I had changed it to my own (for admin), but I hadn't)

Sorry for my confusion.


Thanks again Edwin.


Henk

Post edited by: henkoegema, at: 2007/07/21 13:33<br><br>Post edited by: henkoegema, at: 2007/07/21 13:42
 

gbarriers

Joined
Jul 15, 2007
Messages
3
Likes
0
Points
0
#8
To stop redirecting http to https you have to edit etc/httpd/conf/httpd.conf

Search for the comment bellow (curiously in Spanish) and comment out the three lines that follow.

# Agregado para redirigir el http a https

# RewriteEngine On
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Once you do that, you
 

henkoegema

Joined
Jul 12, 2007
Messages
37
Likes
0
Points
0
#9
gbarriers said:
To stop redirecting http to https you have to edit etc/httpd/conf/httpd.conf

Search for the comment bellow (curiously in Spanish) and comment out the three lines that follow.

# Agregado para redirigir el http a https

# RewriteEngine On
# RewriteCond %{HTTPS} off
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Once you do that, you
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,916
Messages
130,922
Members
17,598
Latest member
giornaso
Top