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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:23:47+00:00 2026-06-15T03:23:47+00:00

I need my Grails app at http://myserver.com/app/ to hit a PHP script on the

  • 0

I need my Grails app at http://myserver.com/app/ to hit a PHP script on the same server. I’m using groovyx.net.http.HTTPBuilder to make the request, which works if the script is on another server. But if I move the script to http://myserver.com/php/script.php, I get

java.net.ConnectException
Message
Connection refused

The script is working normally in a web browser at http://myserver.com/php/script.php

How can I get Grails to make the request?

  • 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-15T03:23:50+00:00Added an answer on June 15, 2026 at 3:23 am

    The server refused an HTTP request from & to itself using the public URL. The request works as intended if made using the server name ‘localhost’.

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

Sidebar

Related Questions

I am using the spring-security-core plugin in my grails app. I need to know
My Grails app is using the Spring Security plugin. I need to login a
Inside a grails application, I need to upload a file under web-app/js, add a
We are using Grails with a legacy database and we need to control how
I have a grails app and I need to trigger an cpu-intensive process. I'm
We're developing an app (using Grails Spring Security (formerly Acegi)) in which we'll have
I am working on a grails app and need regularly to deploy hot fixes
All, I am trying to test my grails app using Hudson. I have in
I need to implement a web app, but instead of using relational database I
I have just deployed my Grails app on public cloudfoundry(myApp.cloudfoundry.me) and i need my

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.