Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

testing application

 
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I'm pretty much sure where should I post such a question, so if moderator doesn't find this are appropriate please redirect the post.
However it's about testing application from internal network. I built private network area (ten computers), where my PC is in role of server, and other Pc-s are, of course clients. Now I would like that application I built to be tested by these clients. How can I perform such a testing, or in other words, what is the address of my application when she is approached from client machine? Thanks in advance
 
Ranch Hand
Posts: 31
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Slobodan,

Are your building a web application (servlet/jsp) or a client server application (socket, rmi, corba, etc)?

Usualy, in client server application is used IP to network communication.
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm building web application based on servlet/jsp. I use many other technologies but they are not in the matter of fact. So I use JSP/Servlet. Do you know maybe the answer?
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Considering that my Ip is 192.168.0.1, and at client machine gateway is the same, and I have perfectly established communication between these two pc .But what would be the full address to my application from her computer?
This is address when her approach my computer:

\\Name_of_Server\some_content

and this is the address of my application :

http://localhost:8080/project_sler

So, I believe that I should bind these two addresses, somehow:)
But how ?
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's ok, I have accomplished task... I mean I have accomplished connection from client to server, but there is a second problem.
I, as my self, am part of a bigger network, so my personal internal network is just part of my private network. In other words, I get an internet through wireless connection, with provider. That is huge internal network. Now I create my personal network, with several computers, where each computer has an access through my computer, but non of these, my private computers, are not directly on this big internal network which supply me with internet...
Now, the clients from my own network can connect to my web application when Tomcat is deployed. Now I would like that every user of internet-providing-network, has also access to my computer- to my application.
The clients, my own, in order to utilize my application, are typing my ip address + port + application name.
I try the same, from another computer of internet-providing-network, supplying the ip address, which is assigned to me from the administrator + port+ application name. And it want.
SO I believe that problem is an access constraints, made by internet-provided-network administrator, which probably doesn't allow access to computers between users. What do you thinks?
 
Oscar Costa
Ranch Hand
Posts: 31
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now, it's a network "problem".
You need to forward the http service from your server to the internet.
Maybe your ISP is blocking the http traffic from inside to outside...
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if I clearly understood your problem but here it goes. Have you tried looking at OWASP . Some of my configuration files are based on their articles. I hope this helps.
 
Goran Markovic
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, I'll take a look :-)
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic