Visit Our UNIX and Linux User Community

enabling port 8080

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers enabling port 8080
# 1  
Old 01-08-2005
enabling port 8080

hey everyone,
i have just finished configuring apache 2.0 with the php and pgsql modules installed on it.. httpd.conf is configured and everything is running right after a lengthy bit of reading and struggling with the system.. the only problem left is how do i enable the port that i would access httpd -X through (the webrouser for short). 80 is used and apachect1 is running on 8080 but it won't connect to a virtual host . i remeber seeing something about "Enable 8080" in the manual but this does not seem to be working and i can't seem to find where it is locate in the manual itself.. any feedback on the matter would greatly be appreciated.
thanx moxxx68
# 2  
Old 01-08-2005
Just make sure that the Listen directive within httpd.conf is set to whatever port you want to use, e.g.

Listen 8080

Also; ensure that the following directive is inside httpd.conf too...
ServerName localhost:8080
This is all assuming that you just want to browse to this via your LAN and you have no domain, etc.... If you're just running a single "site" locally on your server then there's no real need for a VirtualHost at all.

Out of interest - you say that port 80 is already in use - what is already using this port? This is reserved for http and unless you've got another HTTP server running this port should be free for Apache to use.

Do "apachectl restart" after editing httpd.conf.

# 3  
Old 01-08-2005
If youre trying to connect from outside your network, you ISP might block port 8080. Not sure if this is the case with you, but just a pointer.
# 4  
Old 01-09-2005
to answer dangrals question I am from within my network.. . and to answer zazzybobs question I actually downloaded the apache I am running at this point so there may have been another apache preinstalled if so what should i do to get back port 80.. also it may be have been accidentally used on a samba configuration.. once again how would i go about getting this port back.. one last thing for zazzybob if you could please fill me in a little more on what you mentioned on virtual hosts not needing it and so on?
thanx moxxx68

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash script, find the next closed (not in use) port from some port range.

hi, i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010). the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file. my code is: ... (2 Replies)
Discussion started by: yossi
2 Replies

2. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

3. AIX

Telnet is not happening on port number 8080

Dear Experts, I am trying to open 8080 port on my Aix 7.1 server. I made an entry in /etc/services for the port. and refreshed the inetd service. But when I try to telnet localhost 8080, telnet is not happening. connection refused error is coming. I can able to telnet localhost 23 its working... (9 Replies)
Discussion started by: aix.rockie
9 Replies

4. Solaris

Cabling and adapters to communicate to service processor serial port from Windows PC with USB port.

Hello, I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build. The first part is what confuses me -the cabling. I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies

5. Red Hat

Unable to Open port 8080

Hi Experts, I am receiving below error while trying to connect port 8080. Could not open connection to the host, on port 8080 : connection refused. iptables configuration /etc/sysconfig/iptables # Firewall configuration written by system-config-firewall # Manual customization of... (1 Reply)
Discussion started by: sai_2507
1 Replies

6. Red Hat

Enabling port 4902

Dear all, I have two machines , Linux 1 and linux 2 ...From one server to another i am trying to telnet port 4902 ....which is not successful. This port is needed for data transfers for oracle monitoring. Kinldy can any one suggest how to open this port in linux machine manually... ... (2 Replies)
Discussion started by: jegaraman
2 Replies

7. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

8. Shell Programming and Scripting

running localhost:8080 on firefox gives error .

I have copied a simple.xml file into the folder /var/www/html and trying to access it on the brower by giving the command "http://localhost:8080/simple.xml" but it gives "Connection Failed " Error . While if i type "http://localhost/" It dispays the contents of the index.html file in the... (2 Replies)
Discussion started by: madhumathikv
2 Replies

9. IP Networking

Resolving port 8080 in DNS

Hi I have my DNS servers (BIND 8) running on two Solaris 8 boxes. I need to be able to resolve an address to an IP address followed by :8080 - (for Tomcat). I tried doing this in my zone file but it failed. Can someone give me a pointer on where this configuration should be done?... (1 Reply)
Discussion started by: korfnz
1 Replies

Featured Tech Videos