MHH AUTO
EPC WIS Change Port - Printable Version

+- MHH AUTO (https://mhhauto.com)
+-- Forum: MHH AUTO FORUMS. (https://mhhauto.com/Forum-MHH-AUTO-FORUMS)
+--- Forum: General Automotive Help & Discussions. (https://mhhauto.com/Forum-General-Automotive-Help-Discussions)
+---- Forum: Daimler Group Mercedes-Benz, Smart Discussions. (https://mhhauto.com/Forum-Daimler-Group-Mercedes-Benz-Smart-Discussions)
+---- Thread: EPC WIS Change Port (/Thread-EPC-WIS-Change-Port)

Pages: 1 2 3 4 5 6


EPC WIS Change Port - mahdyonline - 03-26-2020

i use guide for change port of that software 
can't find any line in this files epc_cfg.xml

someone can advice?

this guide:

(11-28-2019, 09:24 PM)i860 Wrote: The standard installation will make EWA net run on the specific port 9000. This is to avoid conflicts with existing installations of an HTTP server listening on port 80 (i.e. Windows 2000 Server installations with IIS running for administrative tasks). If you make use of an upfront web server as described in the section about setting up EWA net for clustering you will already find EWA net running on the port 80.

So apart from the steps described in the following sections to make the EWA net Application Server listen on port 80, you might also want to see the clustering documentation and setup a WebServer in front of the application server.

However, to allow you to switch your application server installation to use the HTTP default port 80, following instructions might be helpful for you:

Edit the J2EE Server configuration
For the "local" environment this is:
[EWA_HOME]\server\conf\server.xml
Find the section and edit the line:
<!--
    Define a non-SSL HTTP/1.1 Connector on port 9000
-->
<Connector port="80"
          protocol="HTTP/1.1"
          secure="false"
          maxHttpHeaderSize="8192"
          acceptCount="300"
          maxThreads="200"
          minSpareThreads="25"
          maxSpareThreads="75"
          enableLookups="false"
          redirectPort="8443"
          connectionTimeout="60000"
          disableUploadTimeout="false" />
Replace the current value for "port" (i.e. "9000") with the new value “80".

Edit the central config file of EWA net:
[EWA_HOME]\config\core_cfg.xml

Edit the value

[...]
<PARAMETER name="httpPort">80</PARAMETER>
[...]
Replace the value with “80”.

Edit the EPC configuration file. Adjust the property for the datacard access URL:
[EWA_HOME]\config\epc_cfg.xml

Find the section and edit the line:

[...]
<param name="datacardapi">http://localhost:80/EPC-net/datacardapi</param>
[...]
Replace the value with “80”

Restart the EWA net server
If you make use of EWANAPI please assure that all clients refer to the corrected address now. As EWANAPI has to connect to the server, it needs the correct URL, including a correct port number for the URL.
Find and edit the file:
EWANAPI.INI

and edit the entry

[...]
[HTTP-Config]
[...]
Port=80
Replace the value with “80”.



RE: EPC WIS Change Port - webmaster - 03-26-2020

Better use port 9002
80 is good port number for some applications!

Dont forget, u must restart EWA server (run as admin) to allow changes to take effect.
Also u must create new shortcut with the new port.

Best regards.


RE: EPC WIS Change Port - mahdyonline - 03-26-2020

(03-26-2020, 06:07 PM)webmaster Wrote: Better use port 9001 
80 is good port number for some applications!

Dont forget, u must restart EWA server (run as admin) to allow changes to take effect.
Also u must create new shortcut with the new port.

Best regards.
thanks a lot but as i told u i can't find that line for change the port


RE: EPC WIS Change Port - webmaster - 03-26-2020

[Image: Change-ewa-Port.png]


Only 1st two.

Best regards.


RE: EPC WIS Change Port - mahdyonline - 03-26-2020

[attachment=344660]i can't find this line
Code:
<param name="datacardapi">http://localhost:80/EPC-net/datacardapi</param>

(03-26-2020, 06:36 PM)webmaster Wrote: [Image: Change-ewa-Port.png]


Only 1st two.

Best regards.

if u say just need step 1 and 2 i did it before but when want restart server i have error about failt restart


RE: EPC WIS Change Port - zaweel - 03-26-2020

(03-26-2020, 06:07 PM)webmaster Wrote: Better use port 9001 
80 is good port number for some applications!

Dont forget, u must restart EWA server (run as admin) to allow changes to take effect.
Also u must create new shortcut with the new port.

Best regards.
Dear webmaster
How about if we "Stop EWA Server" from EWA Admin Tool server section?
Do you think this will help, and when we finished any Xentry Online work we can start it again.
Can you please advice?


RE: EPC WIS Change Port - avandgarde - 03-26-2020

(03-26-2020, 07:13 PM)zaweel Wrote: Dear webmaster
How about if we "Stop EWA Server" from EWA Admin Tool server section?
Do you think this will help, and when we finished any Xentry Online work we can start it again.
Can you please advice?


You edit files and then normally restart your computer.


RE: EPC WIS Change Port - webmaster - 03-26-2020

I did this 100 times, I never search for a line!

Always search for the port! when u open those files with txt search for 9000 and replaces with 9001 

Restart EWA server.

Best regards.


RE: EPC WIS Change Port - mahdyonline - 03-26-2020

(03-26-2020, 07:52 PM)webmaster Wrote: I did this 100 times, I never search for a line!

Always search for a port! when u open those files with txt search for 9000 and replaces with 9001 

Restart EWA server.

Best regards.

do u have that files for sending here