Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a web application deployed on the Jboss 4.2.1 server. I can access the application using following URL.
http://localhost:8080/myApp
But I am not able to run the application using my machines IP address like below.
http://192.168.0.100:8080/myApp
I want other developers on my network to be able to test the application deployed on my machine using my IP address.
What are the changes that I need to do in the JBoss configuration so that I can access Jboss using the IP address instead of the localhost?
You need to an extra flag while running. ./run.sh -b0.0.0.0
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I placed the my java web application in tomcat7 webapps folder in linux server.
My application is running with port number 8080, my app url is http://xxxx:8080/xxxx/#/
How can I map the application to domain name http://xxxx.in?
The answers below should be all you need:
How to change the port of Tomcat from 8080 to 80?
Deploying my application at the root in Tomcat
Before you do any of the above you should stop Apache HTTPD (not Apache Tomcat) as it is already running on port 80 (and you don't really need it).
Check inside your /etc/rc.d/init.d/ directory for services available and use command stop (servicename) to stop it
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I previously created one EC2 instance through Elastic beanstalk using eclipse.
I used to deploy the application through eclipse itself. Now somehow, the server got unconfigured.
When i am trying to reconfigure the server, it is creating a new instance of the application which i don't want.
Can someone help me in configuring the existing EC2 in the eclipse project?
I am trying to update the configuration, but it is not able to fetch the server details(It is not showing any server in the server dropdown). However, server explorer is showing all the server.
Beanstalk will change its ec2 instances as it see fit. Therefore, it's ok that your instance has disappeared. The eclipse plugin is known to be buggy, and is good mostly for initial setup and demo, and not for ongoing work.
I do recommend installing the EB CLI and using the command line to deploy your code (eb deploy).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
My question is how can I forward a port automatically in a server.
If anyone knows the game "Minecraft" the user have an option to create a server so anyone can join.
Now what I didn't get is how the server automatically forward the port.
Currently i do not have any code to show.
Thanks In advance.
What minecraft does is creates a local port that is listening for connections. I think what you are asking though is how does the other user get through your router to your server. The answer to that is it uses UPnP to tell your router what ports to forward from the wider Internet.
If you want to implement something similar, look for UPnP libraries for Java or whatever language you are writing in.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have registered to the free AWS plan, and I wish to run a pure java server code I have written on this machine, so I will be able to take this server's IP and use it to connect with my client.
After some searching in AWS I have found many products and features, but I still don't understand how to perform this simple task.
Create a new EC2 Instance SSH into it, install java and prerequisites.
Ensure -
Your Security Group is opened for port 22 for external internet - 0.0.0.0/0 ( or at least your IP )
Use t2.micro instance size - only that is covered under the free tier
Remember to save / store your keypair safely
Check the below links
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-instance_linux.html
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-connect-to-instance-linux.html
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-add-volume-to-instance.html
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-clean-up-your-instance.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to set up java/jsp environment in digitalocean VPS. I need help with that. I found help in digitalocean community but I want to know that which os is best for jsp and tomcat? And also the version of OS. I saw that tomcat is accessible at port 8080 so is there any option that i can access my site at port 80 or something like domain.com/index.jsp instead of domain.com:8080/indes.jsp?
I am still learning java and jsp so for that I need help to set up.
Tomcat can run on almost any OS, so choose one you are experienced and comfortable with. There's been a tendency to go with CentOS for server deployment, but as far as I'm aware no strong justification for choosing this over Ubuntu. Use whichever version is the most recent released version - for Ubuntu that's 14.04. DigitalOcean provide a variety of images and they're likely to be up to date and well supported.
Tomcat can be setup to run on any port you want, including 80. There are loads of guides to this, here's one that looks comprehensive: http://java-notes.com/index.php/installing-tomcat-with-http-port-80-on-linux