Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8083843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:36:18+00:00 2026-06-05T17:36:18+00:00

I have developed a Java server using Eclipse that accepts TCP socket connection from

  • 0

I have developed a Java server using Eclipse that accepts TCP socket connection from android client, performs some computations, and returns the result to the android phone using this socket. I tried it on Wi-Fi.

I want now to move the Java server to the cloud – basically amazon EC2. Is this possible? I am just using a simple tcp socket connection. I have checked and couldn’t find an example but came across “elastic beanstalk”. Any help is appreciated, maybe a link or tutorial with such an example.

can i convert my java project to .war and use it or can i install eclipse on the cloud and run it as i do locally?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T17:36:19+00:00Added an answer on June 5, 2026 at 5:36 pm

    It is definitely possible. And you don’t have to convert your project to a .war, unless you want to.
    All you have to do is:

    • Pick the Amazon Image (AMI) you want to use – Amazon Linux is a good place to start, but there are plenty of other options, including Ubuntu and Windows.

    • Set up a security group – you need to set an incoming rule for your server’s port number. It is pretty easy to do this from the Amazon web-based console.

    • Start a machine and assign it to the security group you created. Again, this is easily accomplished from the amazon web console.

    Once the machine is up, log in (using ssh for Linux or Remote Desktop for windows) and install your server.

    A few things to remember:

    • Since you are now running on a public server, sooner or later your server will be attacked. EVERYONE gets attacked. If all you are opening is your single application port, make sure it is secured.

    • An Amazon server has a private and public IP. Your client application will connect to the public IP.

    • Servers can fail, and new servers get new public IPs! You need to prepare for this. Either make the IP in the client configurable, or look into something like Amazon Elastic IPs or dynamic DNS.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a java swing client-server application. The server has many services like
I have developed a simple Apache-Axis java web service using Eclipse IDE and now
I have been developed a web application using java servlet at server side and
I have developed a java application which run's perfectly in local server. But When
I have developed a Java program that will count the number of files in
I have developed a java web application using JSF 2.0(Facelets) on GlassFish 3.1.1 with
I'm using Eclipse to write a small Java application that uses WLST to manage
I have a website website1.com on Apache server developed using PHP and deployed in
I'm trying to develop an android application that uses network connection. The server is
I have developed EJB using NETbeans IDE having glassfish server. I can call it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.