Hi, I don’t know how PCF works. But probably the “IP Adress of VM” is not available where the application is installed (container?).
You can simply specify address=* to bind to any available address. Regards, -marc > On 14. Oct 2020, at 22:44, ashok kumar <ashok.obilise...@gmail.com> wrote: > > Hi All, > > I have SpringBoot application running on PCF and I set output="tcpserver", > port="6335" and address="<IP Address of VM>" and while starting the > application, seeinb below exception. Appreciate your help on this. > > 2020-10-14T15:36:01.308-05:00 [APP/PROC/WEB/0] [ERR] java.net.BindException: > Cannot assign requested address (Bind failed) > 2020-10-14T15:36:01.308-05:00 [APP/PROC/WEB/0] [ERR] at > java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) > 2020-10-14T15:36:01.308-05:00 [APP/PROC/WEB/0] [ERR] at > java.net.ServerSocket.bind(ServerSocket.java:390) > 2020-10-14T15:36:01.308-05:00 [APP/PROC/WEB/0] [ERR] at > org.jacoco.agent.rt.internal_43f5073.Agent.getInstance(Agent.java:54) > 2020-10-14T15:36:01.308-05:00 [APP/PROC/WEB/0] [ERR] at > org.jacoco.agent.rt.internal_43f5073.PreMain.premain(PreMain.java:50) > 2020-10-14T15:36:01.309-05:00 [APP/PROC/WEB/0] [ERR] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > 2020-10-14T15:36:01.309-05:00 [APP/PROC/WEB/0] [ERR] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > 2020-10-14T15:36:01.309-05:00 [APP/PROC/WEB/0] [ERR] at > java.lang.reflect.Method.invoke(Method.java:498) > 2020-10-14T15:36:01.309-05:00 [APP/PROC/WEB/0] [ERR] at > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > 2020-10-14T15:36:01.309-05:00 [APP/PROC/WEB/0] [ERR] at > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > 2020-10-14T15:36:01.309-05:00 [APP/PROC/WEB/0] [ERR] at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > 2020-10-14T15:36:01.310-05:00 [APP/PROC/WEB/0] [ERR] at > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > 2020-10-14T15:36:01.310-05:00 [APP/PROC/WEB/0] [ERR] Caused by: > java.net.BindException: Cannot assign requested address (Bind failed) > 2020-10-14T15:36:01.310-05:00 [APP/PROC/WEB/0] [ERR] at > java.net.ServerSocket.bind(ServerSocket.java:390) > 2020-10-14T15:36:01.310-05:00 [APP/PROC/WEB/0] [ERR] at > org.jacoco.agent.rt.internal_43f5073.output.TcpServerOutput.startup(TcpServerOutput.java:54) > 2020-10-14T15:36:01.310-05:00 [APP/PROC/WEB/0] [ERR] at > org.jacoco.agent.rt.internal_43f5073.Agent.startup(Agent.java:129) > 2020-10-14T15:36:01.311-05:00 [APP/PROC/WEB/0] [ERR] at > org.jacoco.agent.rt.internal_43f5073.Agent.getInstance(Agent.java:54) > > Regards, > Ashok > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jacoco+unsubscr...@googlegroups.com > <mailto:jacoco+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/bae7028a-17dd-4eee-a4ef-a94d782943a4o%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/bae7028a-17dd-4eee-a4ef-a94d782943a4o%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/6EA54F95-0BCE-4B36-9BEF-49FC73699168%40mountainminds.com.