How to set a proxy for a JBoss Instance

I have a JBoss instance running and I would like to route all traffic through a proxy.

I have tried setting the System Properties to load in as so:

JAVA_OPTS="-Dhttp.proxyHost=localhost -Dhttp.proxyPort=1234 $JAVA_OPTS"

But it seems JBoss ignores these as I still am not able to route through the proxy.

Any help?


In standalone.xml after


add the following

    <property name="http.proxyHost" value="yourProxyIpAddress"/>
    <property name="http.proxyPort" value="yourProxyPort"/>
    <property name="http.nonProxyHosts" value="localhost"/> <!-- if you want to ignore localhost -->

Take care if yor connections are http or https, because there is also a flag for https? Also you can set a blacklist (nonproxyhosts)

Need Your Help

Azure Functions how to add application settings to bindings

c# azure binding settings azure-functions

I'm trying to add some custom binding using my app settings for my Azure Function. I need to receive only string a string from my settings.

Difference between byte vs Byte data types in C#

c# byte

I noticed that in C# there are both a byte and Byte data type. They both say they are of type struct System.Byte and represent an 8-digit unsigned integer.