Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

change IPC listen port

angelsanges

Newbie
Registriert
23. März 2009
Beiträge
8
Reaktionspunkte
0
Punkte
1
hi!
how to change IPC listen port?

actually i have ipc on my server on port 80! i want to change it to another one please....

and also....i can bind the config webpage to only a specific IP address??

thanks
 
AW: change IPC listen port

Hi,

vi /etc/apache2/ports.conf
change the listen and NameVirtualHost to your new port

vi /etc/apache2/sites-available/default
<VirtualHost *:PORT>

/etc/init.d/apache2 restart
 
AW: change IPC listen port

hi! thanks

sorry but i do not understand....

actually i have vi /etc/apache2/ports.conf

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
Listen 443
</IfModule>

<IfModule mod_gnutls.c>
Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
 
AW: change IPC listen port

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 80

<IfModule ssl_module>
Listen 443
</IfModule>

<IfModule mod_gnutls.c>
Listen 443
 
AW: change IPC listen port

ok...i'have modified!

but if i go to the new port IP:PORT , come out Apache2 Debian Default Page and not the IPC cofigs....
 
if i go to IP:PORT/ipc i have....
Not Found

The requested URL /ipc was not found on this server.

all done...but not working!

/etc/apache2/ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 1703

<IfModule ssl_module>
Listen 443
</IfModule>

<IfModule mod_gnutls.c>
Listen 443
</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet


/etc/apache2/sites-available/default

<VirtualHost *:1703>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
netstat -ntlp | grep apache2

tcp6 0 0 :::1703 :::* LISTEN 481/apache2
 
Zuletzt bearbeitet von einem Moderator:
AW: change IPC listen port

Hi,

have you tested another webbrowser? e.g. Chrome? Cache deleted?

Kind regards
 
AW: change IPC listen port

i try later...


and about the other question??

how i can limit access to configs to only my IP?
 
Zurück
Oben