Forcing Portal to bind to a specific IP Address
search cancel

Forcing Portal to bind to a specific IP Address

book

Article ID: 68112

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Portal Service is not starting up. Even after updating all the properties in lisa.properties it is not pointing the system IP for Portal service.

2016-01-07 23:27:41,544Z (17:27) [main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED ServerConnector@40d09ecc{HTTP/1.1}{0.0.0.0:1507}: java.net.BindException: Address already in use

java.net.BindException: Address already in use

 

 

Environment

All supported DevTest releases.

Linux Vtier

Cause

Due to using Linux vtier, DevTest was trying to run Portal webserver on localhost and not the virtual machine that was running DevTest Portal.

Resolution

To control the bind to address for the Portal webserver, use the below property

phoenix.webserver.bindaddress=

Put the below property with the correct IPAddress in the PortalService.vmoptions file.

-Dphoenix.webserver.bindaddress=IPAddress

This will require a restart of the Portal Service.