• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Why need to bind address in Linux but not Windows  RSS feed

Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I've two Wildfly servers, one under Windows OS and another under Linux.
I'm curious as to why we have to bind the IP address during start up in Linux
environment, but it's not needed in Windows.

./standalone.sh -b=

If the above is not done in Linux, the deployed application would not be accessible
by a remote browser.

Can anyone please shed some light on this.

Posts: 20562
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, what you are really doing is overridingp the default bind (listener) address. Its default value us (localhost).

As I recall, Wildfly has a fairly complicated startup script, which is OS-dependent, since Linux cannot run Windows BAT files and Windows doesn't normally have anything like the Unix bash shell. It's probable that when the Windows environment was created that it was set to default to bind on

Actually, the reason why Linux would be binding by default to is that it's more secure. If a system is wide open straight out of the box, it's more susceptible to attack. So the reasoning is that you can configure it as a local user before releasing it to the cold, cruel world.
and POOF! You're gone! But look, this tiny ad is still here:
global solutions you can do in your home or backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!