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 6082643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:18:45+00:00 2026-05-23T11:18:45+00:00

The problem: I have tomcat running locally on port 8400 (localhost:8400). I’m working on

  • 0

The problem:
I have tomcat running locally on port 8400 (localhost:8400). I’m working on a web application that communicates with a servlet on tomcat.

When I preview from Aptana the URL is: http://127.0.0.1:8020. Ajax calls I make to tomcat (which is localhost:8400) from my webpage are prevented by Firefox with code 1012 (Access to restricted URI denied).

Questions:

  1. Is there a way to define that Aptana will use my local tomcat folder as an output build folder?

  2. Is there a way to configure the preview server to be localhost:8400, and continue running tomcat on the same port?

  3. Maybe I’m asking the wrong question altogether… Any other way around this 1012 error?

Thanks

  • 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-05-23T11:18:46+00:00Added an answer on May 23, 2026 at 11:18 am

    1) Yes. You can place the project location anywhere you like: http://wiki.appcelerator.org/display/tis/Importing+an+Existing+Project

    2) You can also configure the preview server to use a different URL:
    http://wiki.appcelerator.org/display/tis/Previewing+a+project+in+a+web+browser

    I’m not 100% sure by what you mean by preview–there are two types, one of which is when pressing the “Run” button, and the other is when pressing the “Preview” icon in the toolbar. The link above gives examples how to configure both options.

    3) Changing the preview server should allow you to use localhost:8400 for preview.

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

Sidebar

Related Questions

I have a Java web application running on Tomcat. I want to load static
I have a problem deploying compiled classes in a Tomcat web application: I'm deploying
I have a GWT application running in Tomcat 6. The problem scenario is the
I am running Tomcat 5.5.4 and have a servlet running with no problems. However,
We're running a small web application written JRuby on Rails running under Tomcat. We're
I am running a web application using Tomcat and Java Servlets, JSP's, etc. I
I have a new tomcat application server running on tomcat 6, java 6 (openjdk),
I have an axis web service running in Tomcat. Clients are making connections without
I have tomcat 6.0.18 running on one server without a problem. With the exact
I have a problem with a server, written in Java, running on Tomcat, serving

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.