LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to access localhost ...... (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-access-localhost-763180/)

thomas2004ch 10-20-2009 07:58 AM

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"?

acid_kewpie 10-20-2009 08:08 AM

This seems to make no sense... you are asking how you can access a page that you can already access??? :confused:

AwesomeMachine 10-20-2009 08:20 AM

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.com:port/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.

thomas2004ch 10-20-2009 09:06 AM

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?


All times are GMT -5. The time now is 12:46 PM.