Cov txheej txheem:

Port offset yog dab tsi?
Port offset yog dab tsi?

Video: Port offset yog dab tsi?

Video: Port offset yog dab tsi?
Video: Yog ntuj tsis pab ntshe kuv tuag lawm 8/6/2018 2024, Kaum ib hlis
Anonim

Chaw nres nkoj offset yog qhov muaj txiaj ntsig tweak uas tuaj yeem siv los ua ntau daim ntawv thov servers ntawm tib lub tshuab. Ib txwm siv ntawm cov chaw nres nkoj - offset yog los tsim ib pawg ntsug, nrog ntau cov nodes ntawm tib lub tshuab.

Ntxiv mus, kuv yuav hloov qhov chaw nres nkoj ntawm JBoss 8080 li cas?

Nrog default configurations, JBoss mloog rau cev 8080 rau kev sib txuas hauv web. Tab sis qhov no tuaj yeem hloov tau yooj yim li qhov no chaw nres nkoj yog txhais nyob rau hauv ib tug configuration xml cov ntaub ntawv.

Qhov no yog qhov chaw nres nkoj 8080 hloov pauv ntawm JBoss 4

  1. Mus rau hauv daim nplaub tshev deploy ntawm tus neeg rau zaub mov piv txwv koj siv.
  2. Mus rau jbossweb-tomcat55.
  3. Nrhiav cov ntaub ntawv npe server.

Tsis tas li, kuv tuaj yeem hloov tus lej chaw nres nkoj hauv JBoss 6 li cas? Koj ua tau hloov nws nyob rau hauv cov ntaub ntawv JBOSS_HOME/standalone/ kev teeb tsa / standalone. xml ib.

  1. Nyem rau ntawm 'Server' Saib.
  2. Nthuav qhov piv txwv ntawm JBoss koj xav khiav (piv txwv li JBoss AS 7.1)
  3. Qhib XML Configuration.
  4. Nthuav Ports.
  5. Txoj nyem rau ntawm JBoss Web.
  6. Xaiv 'Hloov Tus Nqi', thiab hloov tus lej chaw nres nkoj (piv txwv li 8082)

Tsis tas li ntawd, qhov chaw nres nkoj twg yog JBoss khiav ntawm?

Khiav JBoss rau Chaw nres nkoj 80 los yog 443. Yog li, koj tau pom tias JBoss khiav cev 8080 thiab nkag mus rau nws koj yuav tsum mus rau http ib: 8080 https ://:8443.

Kuv tuaj yeem hloov tus lej chaw nres nkoj hauv JBoss 7 li cas?

JBoss 7 - Hloov Chaw Nres Nkoj

  1. Raws li tus thawj tswj hwm nws yog qhov tseem ceeb heev los txheeb xyuas cov ntsiab lus ntawm cov chaw nres nkoj khiav ntawm JBoss server.
  2. Hloov chaw nres nkoj manually, cov ntsiab lus chaw nres nkoj tau ua haujlwm ntawm cov ntaub ntawv teeb tsa (rau ib leeg cov ntaub ntawv yog standalone.xml)
  3. Mus rau $JBOSS_HOME/standalone/configuration/standalone.

Pom zoo: