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

  • Home
  • SEARCH
  • 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 7817641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:17:49+00:00 2026-06-02T06:17:49+00:00

I am using JBoss 7 AS. I am deploying the projects via the linux

  • 0

I am using JBoss 7 AS. I am deploying the projects via the linux box by the cmd like so

bin/standalone.sh -b [ipaddress]

This works fine only when i am on the network, however it doesn’t work when i’m outside the network or over the internet.

How do i launch it so people can access it over the internet?

I tried this but it doesnt work.

bin/standalone.sh -b 0.0.0.0

It says:

Google Chrome could not load the webpage because took too long to respond. The website may be down, or you may be experiencing issues with your Internet connection.

  • 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-02T06:17:51+00:00Added an answer on June 2, 2026 at 6:17 am

    Your first step is to understand and configure your interface and port bindings. Before we get to that, it should be clarified that the -b runtime switch has been active since JBoss AS7.0.2, but wasn’t present in previous releases of AS 7. Refer to the following link for more information via the JBoss Application Server 7 community forums.

    https://community.jboss.org/thread/168789

    For your question, you will need to consider both the interface and the port attribute of the socket binding group. Assuming that you’re using the standalone instance, you can find the socket binding groups declared in the standalone.xml configuration file as follows.

    Socket Groups and Port Bindings

    <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
        <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>
        <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>
        <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>
        <socket-binding name="ajp" port="8009"/>
        <socket-binding name="http" port="8080"/>
        <socket-binding name="https" port="8443"/>
        <socket-binding name="osgi-http" interface="management" port="8090"/>
        <socket-binding name="remoting" port="4447"/>
        <socket-binding name="txn-recovery-environment" port="4712"/>
        <socket-binding name="txn-status-manager" port="4713"/>
        <outbound-socket-binding name="mail-smtp">
            <remote-destination host="localhost" port="25"/>
        </outbound-socket-binding>
    </socket-binding-group>
    

    You can see that the http connector is bound to port 8080, and you can also see that the management API port bindings are bound to java tokens. These are values that you can override (hence the "${thing:value}" syntax), but you lose the power to override them if you hardcode them. This is relevant because the default interface is a java token, allowing you to use the -b switch to override it.

    Interfaces

    Here’s the default public interface in the standalone.xml file. The word “public” is just a relative handle. You can “call” it anything that you want, just as long as it means something to you and you can associate server groups and socket bindings to it later. This is a great feature of AS 7, allowing you to declare a set of attributes in one element, and inherit their attributes elsewhere by referencing that element name.

    The following example allows you to reference the public interface elsewhere without needing to know what the actual Inet Address value is.

    <interfaces>
        <interface name="public">
            <inet-address value="${jboss.bind.address:127.0.0.1}"/>
        </interface>
    </interfaces>
    

    Getting Gooey

    You can change these values either via the Management CLI or the Management Console (keeping with the workflow guidance that it’s better to use the Management APIs and leave the XML alone). Like most GUIs, Management Console is the easiest to jump into first. Here’s the socket binding screen. Notice that there’s only really one “socket binding group” in the standalone instance, in this case the standard-sockets group.

    Socket binding groups in the Management Console

    You can edit the http binding if you need, but you should also think about the interface that you are using to connect to the internet. I’m going to assume that you have set up your webserver to suit your needs (which is probably more a question for apache than JBoss). Here’s the console view for interface settings.

    Interface settings in the Management Console

    This shows the public interface that the standard-sockets binding group is relating itself to in the config file. Advanced configurations can use the Advanced section to create ordered conditions for partitioning traffic. You can even enable the <any-address/> element that is described in the first link I posted above.

    From these two screens, you should be able to configure the required interface and port bindings to expose your application to the internet.

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

Sidebar

Related Questions

I am deploying to a unix box running Jboss. We are using SQL Server
Using JBoss AS 6.1.0 Final with default deployment profile. I like to send a
I am looking into using JBoss 5.1.0GA on Oracle, and have seen this ,
I create a map using new MapMaker().softValues().maximumSize(cacheSize).makeMap(); This seemed to work fine, however, I
I am using JBoss and would like to place my properties under JBOSS root
I am using JBoss-6.0.0 AS which by default comes with HornetQ-2.1.2 version but this
I have a problem deploying an Axis 2 web application. I'm using Jboss 4.2.0,
I am using JBoss 4.0.3 in a Windows environment. I would like to share
I'm deploying a war to a remote JBoss 5.1.0 using the following POM config
Using Jboss portal , how do I retrieve the page properties in a jsp?

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.