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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:08:51+00:00 2026-06-18T03:08:51+00:00

I am a Glassfish newbie, though a Java and Unix veteran. I am running

  • 0

I am a Glassfish newbie, though a Java and Unix veteran. I am running the shell script to install Java EE 6 SDK, including Glassfish 3 on my Mac.

bash-3.2# sh java_ee_sdk-6u4-unix.sh

Everything goes along fine until I get to the Domain Info screen. I am sticking with the default info (except for passwords):

Domain Name: domain1
Admin Port: 4848     <- I have verified with netstat that both ports are free
Http Port: 8080      <-
Username: admin
Password: xxxxxxxxxxxx
Service Name: domain1Service
+ Start domain after creation

When I click Next, I get 2 error dialogs that tell me the following:

Admin Port: Host name not found
Http Port: Host name not found

Does anyone know how to get past this?

  • 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-18T03:08:52+00:00Added an answer on June 18, 2026 at 3:08 am

    The answer was relatively simple. I had to add the hostname configured with MacOS Settings as an alias for localhost into my /etc/hosts file. I’m not sure where MacOS keeps the host name. But the hostname command (i.e. gethostname) was returning ‘airguitar’, which is what Glassfish was trying to connect to. Since it wasn’t in /etc/hosts, the hostname couldn’t be found.

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

Sidebar

Related Questions

I have a Glassfish 3.1.1 web application for Java EE 6 running. one of
I have trouble launching Glassfish v3 on Mac In Windows, after installation of Glassfish
I'm running Glassfish 3.1.2 on Ubuntu 12.04.1. I have a database connection pool define
A really newbie question: under glassfish->domains->domain1->config folder, there's a file named keyfile, what is
Server running on GlassFish 3.0 @Stateless(mappedName=messengerservice) public class MessengerService implements MsnService{ int count; @Override
I have an Glassfish ESB based CASA app running in production system (Win 2k3)
Spring newbie here. I'm getting the following error from Glassfish 3.0.1 with my Spring
I'm running Glassfish web server with Strut2 and I would like to pull json
I'm a newbie to Jasper Reports. I'm currently developing a toy application using Glassfish
GlassFish Application Server uses a script, asadmin.bat, that in turns starts a JVM. I'd

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.