This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cant access my application

 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i developed an application with java and deployed it successfully on the tomcat server 6.0.18, when I'm trying to access the application throw : this works fine , but when i try to access the application from outside this computer throw : this doesn't work and showing this although the both computers on the same network and i can ping the both.

Any advice?
 
Kevin Chen
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are they behind the firewall ?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by best gembler:
Are they behind the firewall ?


no firewalls..
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"best gembler" please check your private messages for an important administrative matter.
Thanks.
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no problem with Tomcat, its fine.
There are other influencing factors you need to consider like the connection and proxy settings of the "other" computer you are talking of, network and individual computer access privileges and so on.

What about them?
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is port 1010 opened to other machines?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ananth Chellathurai:
Is port 1010 opened to other machines?


how to check this ? throw telnet MyIP:1010 ?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ananth Chellathurai:
Is port 1010 opened to other machines?


actually i tried some thing else that like i said i got 2 computers pc1 got my server and my application deployed on it , pc2 no servers on it , so installed a tomcat server and the application on it then tried to access it from pc1 so it was succsedded , but when you try to access pc2 from pc1 this msg appears:
PS: both on the same network...
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pals , Any advice ??
 
Chandra Bhatt
Ranch Hand
Posts: 1710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sherif,


Are your two machines able to ping each other successfully?
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chandra Bhatt:
Hi Sherif,


Are your two machines able to ping each other successfully?


Ya ...
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chandra Bhatt:
Hi Sherif,


Are your two machines able to ping each other successfully?


Any advice pals because time is running out and i need to make it up and running
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you access the application from the same system where the server is installed, using http://MyIPaddress:1010/Myapp/

If that works, then in all likelihood, its an network issue between the two systems.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jaikiran Pai:
Can you access the application from the same system where the server is installed, using http://MyIPaddress:1010/Myapp/

If that works, then in all likelihood, its an network issue between the two systems.


ya i can access it ,Network... what do you think in network can cause is issue?
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sherif Shehab:


ya i can access it ,Network... what do you think in network can cause is issue?


Configuration stuff like the one I've mentioned above.
 
Sherif Shehab
Ranch Hand
Posts: 485
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all for your help . i think it's network issue like all said because the server and the application are working fine ...
Anyway thanks for help..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic