-
1. Re: From Localhost to IP adress
dsledge May 16, 2005 2:04 PM (in response to archanazzar)Try setting your bind address. You can set it in the jboss_init_suse.sh or the jboss_init_redhat.sh startup scripts. Edit the following lines to set the bound address:
1) JBOSSSH=${JBOSSSH:-"$JBOSS_HOME/bin/run.sh -c all -b <your ip address>"}
2) CMD_STOP="$JAVA_HOME/bin/java -classpath $JBOSSCP org.jboss.Shutdown --shutdown -s <your ip address>" -
2. Re: From Localhost to IP adress
archanazzar May 16, 2005 3:15 PM (in response to archanazzar)I've made the changes you said and it's still not working. I'm running JBoss on win xp by the way.
-
3. Re: From Localhost to IP adress
dsledge May 16, 2005 4:00 PM (in response to archanazzar)Check and make sure that your XP firewall is allowing port 8080 through.
-
4. Re: From Localhost to IP adress
archanazzar May 17, 2005 4:45 PM (in response to archanazzar)I've tried that also, I even deactivated the firewall. Still, it wont work. The funny thing is that two years ago with an older version it did work. And I dont think that I did anything different back in those days.
-
5. Re: From Localhost to IP adress
darranl May 17, 2005 5:41 PM (in response to archanazzar)Is the machine you are using a stand alone machine or are you part of a business network.
If it is part of a business network is your web browser configured to use a proxy server? If so is it set to bypass the proxy for local addresses possibly by specifying the IP address range that is local.
Also could you elaborate on 'it stops working'. -
6. Re: From Localhost to IP adress
archanazzar May 18, 2005 7:46 AM (in response to archanazzar)Im a student behind a stand alone machine. With 'it stops working' I mean that when I try the IP adress instead of the localhost, the jboss starting page doesnt work, instead I get the white screen that says: the page cannot be shown. When I try the localhost afterwards, it's working again.
-
-
8. Re: From Localhost to IP adress
darranl May 18, 2005 11:35 AM (in response to archanazzar)How are you identifying your IP address? Is it a 127.x.x.x address or a real address?
Can you ping the address?
In a command prompt can you enter the command 'netstat -an' and see what address is used to listen for connections on port 8080.
Can you use 'telnet ADDRESS 8080' to see if you get a connection? -
9. Re: From Localhost to IP adress
archanazzar May 18, 2005 2:36 PM (in response to archanazzar)I typed the http:// in front of my ip adress. About the adress, it's the numerical adress, like for example 64.232.21.121. I can ping the adress and there is no information lost. In netstat -an i see that port 8080 has a local adress of 0.0.0.0:8080, an external adress of: 0.0.0.0:0 and the status is: busy with listening. The telnet attempt failed to get a connection with the host on port 8080.
So that is probably why it isnt working. How can i make it working?
On my machine I got: Windows XP with firewall on (port 8080 open), also have Microsoft anti spyware running on my machine. I dont have antivirus software running on my machine atm. I cant think of other software on my machine that could block my connection. -
10. Re: From Localhost to IP adress
dsledge May 18, 2005 2:57 PM (in response to archanazzar)Which version of JBoss are you running?
Which configuration are you running (eg: all, default ...)? -
11. Re: From Localhost to IP adress
dsledge May 18, 2005 3:12 PM (in response to archanazzar)Your IP address is not being bound by JBoss. If you are using windows then setting the bind address that I showed you earlier will not do anything because the shell scripts don't run on wndows. You will have to set the bind address setting in the run.bat file instead or you might be able to pass it on the command line (eg. run.bat -b <your ip address>). You may also want to try and use the property to set the bind address but it never seems to work for me on linux. -Djboss.bind.address=<your ip address>
-
12. Re: From Localhost to IP adress
archanazzar May 18, 2005 7:02 PM (in response to archanazzar)I've tried to run jboss with the -b ip in dos prompt, but it's still the same result. It shows the jboss starting page in localhost and not on my ipadress. I'm using JBoss 4.0.2 with the newest JAVA SDK 1.5 with netbeans included. I'm running JBoss on the default. What i noticed now is the following on startup:
00:53:46,500 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
00:53:46,500 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
Could that be of any influence? -
13. Re: From Localhost to IP adress
raluri May 19, 2005 6:25 AM (in response to archanazzar)Hi
You have to use : http://127.0.0.:8080. Not your ip address. 127.0.0.0 is the localhost address.
Regards
Raji -
14. Re: From Localhost to IP adress
archanazzar May 19, 2005 7:49 AM (in response to archanazzar)The 127.0.0.0 ip adress doesnt work either. Also I would like to say that I had this working 1 or 2 years ago. I could be somewhere else and go to my internet page. It would work then and I could register and login etc... But back then I didnt have to install anything in order to get it to work. Thats why it's so weird that it isnt working now.