Jump to content

changing server port


knowram

Recommended Posts

I changed the port my Apache server running on Mac OSX uses from 80 to 8080 a while back. Now I have changed /etc/httpd/httpd.confg back to using port 80 and have restarted the server but I can still only browse to it on port 8080.

 

here is the Apache info from phpinfo()

Apache Environment

Variable	Value
DOCUMENT_ROOT	/Library/WebServer/Documents
HTTP_ACCEPT	text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_ENCODING	gzip, deflate
HTTP_ACCEPT_LANGUAGE	en
HTTP_CONNECTION	keep-alive
HTTP_HOST	minihost.local:8080
HTTP_IF_MODIFIED_SINCE	Mon, 15 Oct 2007 23:43:27 GMT
HTTP_REFERER	http://minihost.local:8080/
HTTP_USER_AGENT	Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/522.11.1 (KHTML, like Gecko) Version/3.0.3 Safari/522.12.1
PATH	/usr/bin:/bin:/usr/sbin:/sbin
REMOTE_ADDR	172.16.1.10
REMOTE_PORT	61699
SCRIPT_FILENAME	/Library/WebServer/Documents/test4u.php
SCRIPT_URI	http://minihost.local/test4u.php
SCRIPT_URL	/test4u.php
SERVER_ADDR	172.16.1.11
SERVER_ADMIN	[no address given]
SERVER_NAME	minihost.local
SERVER_PORT	80
SERVER_SIGNATURE	<ADDRESS>Apache/1.3.33 Server at minihost.local Port 80</ADDRESS>
SERVER_SOFTWARE	Apache/1.3.33 (Darwin) PHP/4.3.11 mod_ssl/2.8.24 OpenSSL/0.9.7l DAV/1.0.3
GATEWAY_INTERFACE	CGI/1.1
SERVER_PROTOCOL	HTTP/1.1
REQUEST_METHOD	GET
QUERY_STRING	no value
REQUEST_URI	/test4u.php
SCRIPT_NAME	/test4u.php

 

Thanks for the help

 

Link to comment
https://forums.phpfreaks.com/topic/73564-changing-server-port/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.