Skip to content

Commit 8e677e1

Browse files
authored
Merge pull request #1020 from oracle/dz_nm_127
Change NodeManager listening on 127.0.0.1
2 parents e366af8 + 69d7c2e commit 8e677e1

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

operator/src/main/resources/scripts/start-server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
1+
# Copyright 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at
33
# http://oss.oracle.com/licenses/upl.
44

@@ -44,7 +44,7 @@ def getEnvVar(var):
4444
try:
4545
nmConnect(userConfigFile='/weblogic-operator/introspector/userConfigNodeManager.secure',
4646
userKeyFile='/tmp/userKeyNodeManager.secure.bin',
47-
host=service_name,port='5556',
47+
host='127.0.0.1',port='5556',
4848
domainName=domain_name,
4949
domainDir=domain_path,nmType='plain')
5050
nmStart(server_name)

operator/src/main/resources/scripts/startNodeManager.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
2+
# Copyright 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
33
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
44

55
#
@@ -175,7 +175,7 @@ cat <<EOF > ${nm_props_file}
175175
JavaHome=${JAVA_HOME}
176176
LogLevel=FINEST
177177
DomainsFileEnabled=true
178-
ListenAddress=${SERVICE_NAME}
178+
ListenAddress=127.0.0.1
179179
NativeVersionEnabled=true
180180
ListenPort=5556
181181
LogToStderr=true

operator/src/main/resources/scripts/stop-server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017, 2018, Oracle Corporation and/or its affiliates. All rights reserved.
1+
# Copyright 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at
33
# http://oss.oracle.com/licenses/upl.
44

@@ -41,7 +41,7 @@ def getEnvVar(var):
4141
try:
4242
nmConnect(userConfigFile='/weblogic-operator/introspector/userConfigNodeManager.secure',
4343
userKeyFile='/tmp/userKeyNodeManager.secure.bin',
44-
host=service_name,port='5556',
44+
host='127.0.0.1',port='5556',
4545
domainName=domain_name,
4646
domainDir=domain_path,
4747
nmType='plain')

0 commit comments

Comments
 (0)