Visit Our UNIX and Linux User Community


running localhost:8080 on firefox gives error .


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting running localhost:8080 on firefox gives error .
# 1  
Old 08-07-2009
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 folder "/var/www/html"
# 2  
Old 08-07-2009
"http://localhost/" -> this means port 80

"http://localhost:8080/simple.xml" -> port 8080?

in wich port are you Apache listening xD
# 3  
Old 08-08-2009
You have to have a web server software package installed and configured for that to work. The most popular is Apache, also called httpd. It's excellent, though not simple.

But there are lots of others, such as lighttpd and thttpd. I ran dhttpd for a while under Cygwin (also available on Ubuntu) and was delighted at how simple and reliable it is.

Previous Thread | Next Thread
Test Your Knowledge in Computers #28
Difficulty: Easy
Unix was the first fully supported 64-bit operating system for personal computers.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. Homework & Coursework Questions

Firefox is already running, but is not responding.

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am logging in as a regular user, whose home directory is being mounted from nfs server. When I tried to open a... (8 Replies)
Discussion started by: Ankur Goyal
8 Replies

3. Solaris

Library error while opening firefox

I have Solaris-10 zone, where I can open firefox in GUI via MobaXterm with root user, but when I try to open it with non root user, it fails with below error $ which firefox /usr/bin/firefox $ firefox ld.so.1: firefox-bin: fatal: relocation error: file... (6 Replies)
Discussion started by: solaris_1977
6 Replies

4. 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

5. Slackware

I/O Error on starting firefox

I was trying to open the port for my ftp end also Ive triedto start firefox and so i received the following error: Input / Output Error. When i try to start that one in console i receive the following: No Protocol Especified No Protocol Especified Error: Cannot open display: :0,0 (1 Reply)
Discussion started by: darkpirate
1 Replies

6. Debian

error running firefox.desktop file

Hi, I installed the FF3 on my new Debian, and part of the installation guidance is to save a file named firefox.desktop on the desktop, which should act like a shortcut to the FF. The file content is: Name=Mozilla Firefox Browser Comment=lightweight browser based on mozilla Exec=firefox... (15 Replies)
Discussion started by: JonesD1
15 Replies

7. UNIX for Dummies Questions & Answers

Error while doing rcp to localhost

Hi, Rcping a file to localhost fails due to echo statement in .login file on a machine with RH 5.5 However, the same rcp is successful on another machine with Suse 9.2 (with the same .login). I cannot change .login file and was wondering at what could be causing this ? Command that I am... (2 Replies)
Discussion started by: coolket
2 Replies

8. UNIX for Dummies Questions & Answers

AIX localhost error

I have a AIX box. When i ping localhost, it is pinging to some other IP address. When I remove resolv.conf it is working fine. ? What could be the reason ? I have netsvc.conf file with the below given entry hosts=local,bind Many Thanks !! (1 Reply)
Discussion started by: pramodvr
1 Replies

9. UNIX for Dummies Questions & Answers

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... (3 Replies)
Discussion started by: moxxx68
3 Replies

10. 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 blah.xxx.net 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