• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

launch application anywhere

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok so I have a client server application. That connects through localhost:80/program/index.jsp I want it so that I can launch the application anywhere. I type in the URL box www.test.program.com/index.jsp somethng to that extent. just an example. I can only use these databases. Oracle,PostgreSQL,MySQL, or SQL server. if you need more information or have question please comment I will get back to you. I need the help

Note: The application has to be available anywhere, not just on my local computer.
 
Saloon Keeper
Posts: 15484
363
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to CodeRanch!

Please KeepItDown.

You need to register a domain name and point it to a server where your application is running. Domain names can be registered with a registrar, but this is not free. If you don't have your own server, you can have your application hosted by some provider. This isn't free either.
 
Cordaro Vargas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you and I will most defiantely KeepItDown. Very informative. :)

So you are telling me there is no way to do it for free?

Ill explain the situation. So its a company I work for in France. They have a computer that I am connected to Remotely here in the states. The OS is Windows Server 2012. I am setting up said client server application installed and accessed via localhost. The next step is to access said application via internet. to be accessed anywhere. Is there a way in windows server 2012 to do it ?


Thank you in advance for your help and time.

 
Ranch Hand
Posts: 385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the application is to be accessed by employees only, then it is very likely that the server will be behind a firewall and not accessible from "the Internet", but accessible only internally. Your employees from anywhere in the world would be able to access the application through a VPN.

If the application you're setting up really does need to be available to anyone, anywhere on the Internet, then sure, you can use your companies company's server to achieve this, but you need to be talking to your network administrator.

 
Cordaro Vargas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you!

Yes, I am talking to the network administrator. Its just a testing environment. How would I be able to setup a VPN or virtual private network? I understand its fairly simple. However I have done this before and I come up with a error. I away from that specific computer at the moment, but if it helps I am doing it under server management in windows 2012. Install the DHCP settings and configure a VPN? Something I am missing? I feel as though I am...

I appreciate everyone's time with helping with this.
 
Ahmed Bin S
Ranch Hand
Posts: 385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, deciding which machines are accessible from where isn't your job - your network administrator needs to configure the firewall rules, and this is what will determine whether the machine is on the VPN or not.

No, you do not want DHCP if you want employees from anywhere in the world to be able to connect to your application on the server all the time, you want the server to have a static IP address. In my last job the network administrator would provide me with a list of IP addresses that I would then assign statically to servers so that people could connect to them from anywhere in the world.

Once you have your static IP address, then you can point to your application from anywhere in the world, provided the user is connected to the VPN, using <static IP address>:80/program/index.jsp. You can also ask your network administrator to add an entry in the DNS server that maps this IP address to a network name.

Which application server is your application running on?
 
Cordaro Vargas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you mean which database we use? We use MySQL primarily. Any suggestions on how to create a static ip?
 
Ahmed Bin S
Ranch Hand
Posts: 385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Cordaro Vargas wrote:If you mean which database we use? We use MySQL primarily. Any suggestions on how to create a static ip?



No, I mean application server, such as WebLogic, WildFly etc.

I have only worked with Linux, not Windows 2012, but you have to first get a static IP address from your network administrator before you can use it.
 
Cordaro Vargas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
J2EE server application
 
Ahmed Bin S
Ranch Hand
Posts: 385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Cordaro Vargas wrote:J2EE server application



No, you have the J2EE server specification, and then you have application servers that implement this specification.

I was under the impression you have written this application and just want to be able to access it globally. If you have written it, you have presumably deployed it too. How did you deploy it? It has to be running inside an application server.
 
Cordaro Vargas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No I did not write the application. Maybe we are miscommunicating? The application is theirs. I access it by localhost:80/program.jsp. I want to change that by access the server anywhere by an ip address
 
Marshal
Posts: 28177
95
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right. You have an application. And your company apparently has network specialists who are responsible for managing the company's network. You need an address in the company's network. So as Ahmed already said, you should ask your network specialists to provide an address for you to use.

That might also require getting a server to run your application; it's possible the network guys might send you over to the server guys, but at any rate this shouldn't be a do-it-yourself project.
 
Ahmed Bin S
Ranch Hand
Posts: 385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Cordaro Vargas wrote:No I did not write the application. Maybe we are miscommunicating? The application is theirs. I access it by localhost:80/program.jsp. I want to change that by access the server anywhere by an ip address



Sorry, I misunderstood. As Paul said, this shouldn't be a "do-it-yourself project" - I think you need to go to the relevant people in your organisation and ask them to their part of what is required. I am sure the system administrator wouldn't be too happy if you started tinkering around with the configuration on a box that he or she is responsible for.
 
Cordaro Vargas
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to thank everyone for their help. I was able to accomplish my task. The only thing that was blocking me was a Firewall setting. I cant believe I over looked that. Well Thanks for the help again!
 
There’s no place like 127.0.0.1. But I'll always remember this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic