aspose file tools
The moose likes JBoss and the fly likes How to access the server using ipaddress instead of local host Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "How to access the server using ipaddress instead of local host" Watch "How to access the server using ipaddress instead of local host" New topic
Author

How to access the server using ipaddress instead of local host

somesh sai
Greenhorn

Joined: Mar 22, 2004
Posts: 9
Hi,

I have jBoss server instace running on the port 8060. The server is accessing using http://localhost:8060 but unable to access using http://<ipaddress>:8060. I want access this using ipconfig so that the people from other systems in the lan can also accss the server.

Could you please let me know whether I need to start any services in window to do this happen.

Thanks,
Somesh
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8141
    
  52

See this. Use the -b option to start the server


[My Blog] [JavaRanch Journal]
somesh sai
Greenhorn

Joined: Mar 22, 2004
Posts: 9
Hi Jaikiran,

Thanks much for you response. I have tried that option but its still working. I am getting the follwoing error when I try to open the admin console.
----------------------
Network Error (tcp_error)

A communication error occurred: "Operation timed out"
---------------------------

Thanks,
Somesh
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8141
    
  52

Please post the command that you used to start the server. Which version of the server do you use? And where do you see this error? Also please post the console logs.

While posting the logs, remember to wrap it in a code block by using the Code button in the message editor window.
somesh sai
Greenhorn

Joined: Mar 22, 2004
Posts: 9
1. I have used C:\jboss-4.2.0.GA\bin>run -b 0.0.0.0
2. I am using JBoss 4.2
3. I am seeing the below error on the IE after giving http://xx.xxx.xx.xxx:6080/
------
Network Error (tcp_error)

A communication error occurred: "Operation timed out"
------
4. I have copied the console log in Code block
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5532

Here are some things that you can try to help us narrow down the problem (these are all things we would do if we were sitting at your system, but since we aren't you have to be our hands and eyes):

Check your firewall (on the host running JBoss AS, on the PC running IE, and in between), and make sure that no firewalls are blocking access. (By the way, could you please describe what the network looks like between the system running IE and the system running JBoss AS.)

Run TCPView on the host running JBoss AS and ensure that port 6080 is open.

Run IE on the same box as JBoss AS and enter the URL http://localhost:6080 and see if that runs. If it does, then try http://99.99.99.99:6080, where 99.99.99.99 is the IP address of the host as reported by ipconfig.


JBoss In Action
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to access the server using ipaddress instead of local host
 
Similar Threads
remote OSE
HttpURLConnection timed out
Execute Servlet By using Eclipse IDE + Lomboz Plugin
Accessing Tomcat 6.0 using an ipaddress
Using IPAddress and localhost