2017-12-19 15 views
0

wildfly에서 포트 8080에 연결하고 싶습니다. 이 wilfly은 내 Windows 서버 2012에 있습니다. ISS (80 포트)에 연결할 수 있습니다. 방화벽에서 8080에 대한 규칙을 만들었지 만 작동하지 않습니까? 누군가 그것을 고치는 방법을 알고 있습니까? 또는 무엇을 잊었나요?Windows 서버 2012에서 포트 8080 wildfly에 연결하는 방법은 무엇입니까?

환호

2017-12-19 16:47:47,904 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final 
 
2017-12-19 16:47:54,842 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1 
 
2017-12-19 16:47:55,688 INFO [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: Keycloak 3.4.1.Final (WildFly Core 3.0.8.Final) starting 
 
2017-12-19 16:47:55,695 DEBUG [org.jboss.as.config] (MSC service thread 1-1) Configured system properties: 
 
\t awt.toolkit = sun.awt.windows.WToolkit 
 
\t file.encoding = Cp1252 
 
\t file.encoding.pkg = sun.io 
 
\t file.separator = \ 
 
\t java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment 
 
\t java.awt.printerjob = sun.awt.windows.WPrinterJob 
 
\t java.class.path = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\jboss-modules.jar 
 
\t java.class.version = 52.0 
 
\t java.endorsed.dirs = C:\Program Files (x86)\Java\jre1.8.0_151\lib\endorsed 
 
\t java.ext.dirs = C:\Program Files (x86)\Java\jre1.8.0_151\lib\ext;C:\Windows\Sun\Java\lib\ext 
 
\t java.home = C:\Program Files (x86)\Java\jre1.8.0_151 
 
\t java.io.tmpdir = C:\Users\ADMINI~1\AppData\Local\Temp\2\ 
 
\t java.library.path = C:\Program Files (x86)\Java\jre1.8.0_151\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;. 
 
\t java.net.preferIPv4Stack = true 
 
\t java.runtime.name = Java(TM) SE Runtime Environment 
 
\t java.runtime.version = 1.8.0_151-b12 
 
\t java.specification.name = Java Platform API Specification 
 
\t java.specification.vendor = Oracle Corporation 
 
\t java.specification.version = 1.8 
 
\t java.util.logging.manager = org.jboss.logmanager.LogManager 
 
\t java.vendor = Oracle Corporation 
 
\t java.vendor.url = http://java.oracle.com/ 
 
\t java.vendor.url.bug = http://bugreport.sun.com/bugreport/ 
 
\t java.version = 1.8.0_151 
 
\t java.vm.info = mixed mode 
 
\t java.vm.name = Java HotSpot(TM) Client VM 
 
\t java.vm.specification.name = Java Virtual Machine Specification 
 
\t java.vm.specification.vendor = Oracle Corporation 
 
\t java.vm.specification.version = 1.8 
 
\t java.vm.vendor = Oracle Corporation 
 
\t java.vm.version = 25.151-b12 
 
\t javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder 
 
\t javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory 
 
\t javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory 
 
\t javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory 
 
\t javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory 
 
\t javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory 
 
\t javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory 
 
\t javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory 
 
\t javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory 
 
\t javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory 
 
\t jboss.home.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final 
 
\t jboss.host.name = win-3n1he53opph 
 
\t jboss.modules.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\modules 
 
\t jboss.modules.system.pkgs = org.jboss.byteman 
 
\t jboss.node.name = win-3n1he53opph 
 
\t jboss.qualified.host.name = win-3n1he53opph 
 
\t jboss.server.base.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone 
 
\t jboss.server.config.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\configuration 
 
\t jboss.server.data.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\data 
 
\t jboss.server.deploy.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\data\content 
 
\t jboss.server.log.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\log 
 
\t jboss.server.name = win-3n1he53opph 
 
\t jboss.server.persist.config = true 
 
\t jboss.server.temp.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\tmp 
 
\t line.separator = 
 

 
\t logging.configuration = file:C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\configuration/logging.properties 
 
\t module.path = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\modules 
 
\t org.jboss.boot.log.file = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\log\server.log 
 
\t org.jboss.resolver.warning = true 
 
\t org.xml.sax.driver = __redirected.__XMLReaderFactory 
 
\t os.arch = x86 
 
\t os.name = Windows Server 2016 
 
\t os.version = 10.0 
 
\t path.separator = ; 
 
\t program.name = standalone.bat 
 
\t sun.arch.data.model = 32 
 
\t sun.boot.class.path = C:\Program Files (x86)\Java\jre1.8.0_151\lib\resources.jar;C:\Program Files (x86)\Java\jre1.8.0_151\lib\rt.jar;C:\Program Files (x86)\Java\jre1.8.0_151\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre1.8.0_151\lib\jsse.jar;C:\Program Files (x86)\Java\jre1.8.0_151\lib\jce.jar;C:\Program Files (x86)\Java\jre1.8.0_151\lib\charsets.jar;C:\Program Files (x86)\Java\jre1.8.0_151\lib\jfr.jar;C:\Program Files (x86)\Java\jre1.8.0_151\classes 
 
\t sun.boot.library.path = C:\Program Files (x86)\Java\jre1.8.0_151\bin 
 
\t sun.cpu.endian = little 
 
\t sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86 
 
\t sun.desktop = windows 
 
\t sun.io.unicode.encoding = UnicodeLittle 
 
\t sun.java.command = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\jboss-modules.jar -mp C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\modules org.jboss.as.standalone -Djboss.home.dir=C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final 
 
\t sun.java.launcher = SUN_STANDARD 
 
\t sun.jnu.encoding = Cp1252 
 
\t sun.management.compiler = HotSpot Client Compiler 
 
\t sun.os.patch.level = 
 
\t sun.stderr.encoding = cp850 
 
\t sun.stdout.encoding = cp850 
 
\t user.country = US 
 
\t user.country.format = CH 
 
\t user.dir = C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\bin 
 
\t user.home = C:\Users\Administrator 
 
\t user.language = en 
 
\t user.language.format = fr 
 
\t user.name = Administrator 
 
\t user.script = 
 
\t user.timezone = Europe/Berlin 
 
\t user.variant = 
 
2017-12-19 16:47:55,696 DEBUG [org.jboss.as.config] (MSC service thread 1-1) VM Arguments: -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Dorg.jboss.boot.log.file=C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\log\server.log -Dlogging.configuration=file:C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\configuration/logging.properties 
 
2017-12-19 16:48:10,596 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 
 
2017-12-19 16:48:10,643 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 5) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation. 
 
2017-12-19 16:48:10,659 INFO [org.wildfly.security] (ServerService Thread Pool -- 19) ELY00001: WildFly Elytron version 1.1.6.Final 
 
2017-12-19 16:48:10,878 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http) 
 
2017-12-19 16:48:10,925 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.5.4.Final 
 
2017-12-19 16:48:11,034 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 43) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique. 
 
2017-12-19 16:48:11,081 INFO [org.jboss.as.security] (ServerService Thread Pool -- 42) WFLYSEC0002: Activating Security Subsystem 
 
2017-12-19 16:48:11,159 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 37) WFLYNAM0001: Activating Naming Subsystem 
 
2017-12-19 16:48:11,175 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) WFLYCLINF0001: Activating Infinispan subsystem. 
 
2017-12-19 16:48:11,190 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 32) WFLYRS0016: RESTEasy version 3.0.24.Final 
 
2017-12-19 16:48:10,972 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.5.4.Final 
 
2017-12-19 16:48:11,690 INFO [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.6.Final) 
 
2017-12-19 16:48:11,902 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 26) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4) 
 
2017-12-19 16:48:12,246 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 30) WFLYIO001: Worker 'default' has auto-configured to 2 core threads with 16 task threads based on your 1 available processors 
 
2017-12-19 16:48:12,980 INFO [org.jboss.remoting] (MSC service thread 1-2) JBoss Remoting version 5.0.5.Final 
 
2017-12-19 16:48:13,308 INFO [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=5.0.2.Final 
 
2017-12-19 16:48:13,761 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service 
 
2017-12-19 16:48:13,925 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 1.4.18.Final starting 
 
2017-12-19 16:48:13,925 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = h2 
 
2017-12-19 16:48:13,941 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 44) WFLYUT0014: Creating file handler for path 'C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]'] 
 
2017-12-19 16:48:13,972 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default] 
 
2017-12-19 16:48:13,988 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 16 (per class), which is derived from thread worker pool sizing. 
 
2017-12-19 16:48:14,004 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 4 (per class), which is derived from the number of CPUs on this host. 
 
2017-12-19 16:48:15,113 INFO [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: Keycloak cumulative patch ID is: base, one-off patches include: none 
 
2017-12-19 16:48:15,160 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost 
 
2017-12-19 16:48:15,175 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server. 
 
2017-12-19 16:48:15,175 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) WFLYDS0013: Started FileSystemDeploymentService for directory C:\Users\Administrator\Downloads\keycloak-3.4.1.Final\keycloak-3.4.1.Final\standalone\deployments 
 
2017-12-19 16:48:15,269 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "keycloak-server.war" (runtime-name: "keycloak-server.war") 
 
2017-12-19 16:48:15,332 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0018: Host default-host starting 
 
2017-12-19 16:48:15,519 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080 
 
2017-12-19 16:48:15,956 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: EJB subsystem suspension complete 
 
2017-12-19 16:48:16,222 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443 
 
2017-12-19 16:48:16,503 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/KeycloakDS] 
 
2017-12-19 16:48:16,519 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 
 
2017-12-19 16:48:18,899 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-1) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final 
 
2017-12-19 16:48:20,122 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 57) WFLYCLINF0002: Started client-mappings cache from ejb container 
 
2017-12-19 16:48:20,169 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 48) WFLYCLINF0002: Started sessions cache from keycloak container 
 
2017-12-19 16:48:20,169 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 56) WFLYCLINF0002: Started realms cache from keycloak container 
 
2017-12-19 16:48:20,185 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0002: Started authorization cache from keycloak container 
 
2017-12-19 16:48:20,185 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 54) WFLYCLINF0002: Started offlineClientSessions cache from keycloak container 
 
2017-12-19 16:48:20,185 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 52) WFLYCLINF0002: Started offlineSessions cache from keycloak container 
 
2017-12-19 16:48:20,185 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 50) WFLYCLINF0002: Started actionTokens cache from keycloak container 
 
2017-12-19 16:48:20,200 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0002: Started keys cache from keycloak container 
 
2017-12-19 16:48:20,200 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 46) WFLYCLINF0002: Started work cache from keycloak container 
 
2017-12-19 16:48:20,200 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 49) WFLYCLINF0002: Started loginFailures cache from keycloak container 
 
2017-12-19 16:48:20,325 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58) WFLYCLINF0002: Started authenticationSessions cache from keycloak container 
 
2017-12-19 16:48:20,325 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 53) WFLYCLINF0002: Started users cache from keycloak container 
 
2017-12-19 16:48:20,325 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 47) WFLYCLINF0002: Started clientSessions cache from keycloak container 
 
2017-12-19 16:48:23,258 INFO [org.keycloak.services] (ServerService Thread Pool -- 55) KC-SERVICES0001: Loading config from standalone.xml or domain.xml 
 
2017-12-19 16:48:25,934 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0002: Started realmRevisions cache from keycloak container 
 
2017-12-19 16:48:25,950 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0002: Started userRevisions cache from keycloak container 
 
2017-12-19 16:48:25,997 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0002: Started authorizationRevisions cache from keycloak container 
 
2017-12-19 16:48:25,997 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (ServerService Thread Pool -- 55) Node name: win-3n1he53opph, Site name: null 
 
2017-12-19 16:48:30,438 INFO [org.keycloak.connections.jpa.updater.liquibase.LiquibaseJpaUpdaterProvider] (ServerService Thread Pool -- 55) Initializing database schema. Using changelog META-INF/jpa-changelog-master.xml 
 
2017-12-19 16:48:32,696 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 55) HHH000204: Processing PersistenceUnitInfo [ 
 
\t name: keycloak-default 
 
\t ...] 
 
2017-12-19 16:48:32,913 INFO [org.hibernate.Version] (ServerService Thread Pool -- 55) HHH000412: Hibernate Core {5.1.10.Final} 
 
2017-12-19 16:48:32,921 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 55) HHH000206: hibernate.properties not found 
 
2017-12-19 16:48:32,931 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 55) HHH000021: Bytecode provider name : javassist 
 
2017-12-19 16:48:33,068 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 55) HCANN000001: Hibernate Commons Annotations {5.0.1.Final} 
 
2017-12-19 16:48:33,522 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 55) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect 
 
2017-12-19 16:48:33,556 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 55) HHH000431: Unable to determine H2 database version, certain features may not work 
 
2017-12-19 16:48:33,686 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 55) Envers integration enabled? : true 
 
2017-12-19 16:48:35,004 INFO [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool --

이것은 wilfly에서 standalon 인쇄입니다 챠오

. 더 도움이 되나요? 내가 ... 내가 연결하는 방법을 전체 로그를 모르는 : 이벤트에 의해 https://plnkr.co/UybtGtz1XMTeW5774mS9

fail on browser

+0

당신의 제이보스에서 시작 로그를 게시하는 것은 내가 그것을 추가 –

+0

도움이 될 수도, 나는 그것이 로그가 잘 보이는 –

+0

을 도움이되기를 바랍니다. 이게 다야? 또한 서버 자체에서 localhost를 서버 이름으로 사용하여 연결할 수 있습니까? –

답변

0

가 물러가 로컬 인터페이스 인 127.0.0.1:8080에서 수신 로그인합니다.

는 모든 네트워크 인터페이스에서 수신 제이보스 시작하려면 다음을 사용하십시오 : 그것이 작동하지 않을 경우

bin/standalone.sh -b=0.0.0.0 

, 그것은 방화벽 구성에 문제가 될 것입니다.

위의 매개 변수는 공용 포트에만 영향을줍니다. 관리를 열려면 너무 사용

bin/standalone.sh -b=0.0.0.0 -bmanagement=0.0.0.0 

확인이 추가 정보를 원하시면 블로그 게시물 다음 Bind WildFly to a different IP address, or all addresses on multihomed