Anyone familiar with Apache on Unix/Solaris?

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
I can have it display an html page when using port 80. However, I need it to use a random port, say 6500. I tried changing "ServerName" and "Listen" in the httpd.conf file to use that port. It won't load the page though. Any ideas?
 

Jumpem

Lifer
Sep 21, 2000
10,757
3
81
Originally posted by: jfall
run nmap

Oh, and did you use domain:6500 when you checked the page?

nmap doesn't seem to be a Solaris command.

I didn't know I had to specify the port number in the browser as well. That worked. Thanks!:)
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Try doing "netstat -af inet" and see what ports are listed as LISTEN.

Or just try "telnet localhost 6500" or whatever port you want.
If it's listening you should get something like "Connected to localhost on port 6500 \n Escape character is ^]" or some such.
If it connects, type "GET /" and it should blurt out a bunch of HTML.