LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2009, 08:58 AM   #1
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 537

Rep: Reputation: 32
How to access localhost ......


A web application (.war) is deployed on a Jboss server which installed on Linux server. Normally one can render up the index.html of the web application by
Code:
http://web.myCompany.com:8080/myWeb
But now it can't. One is arguing if there is a problem by network or firewall or the Jboss server has problem.

The Jboss server can be accessed via Putty. Otherwise I can try "http:localhost:8080/myWeb" to render up the index.html.

My question: Is there any other way to do the same as render up the page like "http:localhost:8080/myWeb"?
 
Old 10-20-2009, 09:08 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
This seems to make no sense... you are asking how you can access a page that you can already access???
 
Old 10-20-2009, 09:20 AM   #3
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,841

Rep: Reputation: 260Reputation: 260Reputation: 260
TCP/IP networking uses localhost to always refer to 127.0.0.1, which is a special ip address of the local machine. If you want to use a domain name, like www.domain.comort/web_page, you need to name the machine that domain name. Usually domains are translated by DNS servers on the Internet. But if it's a local domain, it's just listed in a file on each client node, or there might be a local DNS server.
 
Old 10-20-2009, 10:06 AM   #4
thomas2004ch
Member
 
Registered: Aug 2009
Posts: 537

Original Poster
Rep: Reputation: 32
Seems my question made some confusion. Here again:

The machine has a DNS name. Normally one can render the web application by "http://web.myCompany.com:8080/myWeb" from other machine such as from my work pc. If you use the desktop of this Linux machine where the Jboss server installed, you can render the web application with "http://localhost:8080/myWeb"

But these days this URL can not be rendered up and I have no access to use the desktop of this Linux machine. But I check the Jboss server it seems everything is OK. So I am looking for a way like rendering up the web application locally from that Linux machine.

Can one better understand my question now?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Access CUPS localhost:631??? libertinux Linux - Networking 8 05-21-2009 11:08 AM
cannot access localhost Rick809 Linux - Networking 3 08-02-2006 12:27 PM
Unable to access port 80 from anywhere but localhost hecter Linux - Security 1 10-07-2004 09:12 AM
localhost access denied another_eric Linux - Networking 2 10-10-2003 09:35 PM
Not getting Localhost access for CUPS JaseP Linux - Networking 3 12-16-2002 01:32 PM


All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration