Can i run the student app on any port other then 8080 | Rest Assured Forum
N
nishant singhal Posted on 27/05/2020

My 8080 port is already occupied by jenkins.

I want to run the student app on some other port. How can i do that.

Right now it is failing with this error:

***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.

 

java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_231]
at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_231]
at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_231]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChann

 

 

Please help.


N
nishant singhal Replied on 28/05/2020

tried killing all process on 8080 port.... still giving same error.

2020-05-27 23:52:46.244 ERROR 6741 --- [ main] o.a.coyote.http11.Http11NioProtocol : Failed to start end point associated with ProtocolHandler [http-nio-8080]

java.net.BindException: Address already in use


A
Ashish Thakur Replied on 29/05/2020

java.net.BindException: Address already in use

This means some app is blocking the port 8080. This application only runs on 8080

Generally skype blocks 8080

Please restart pc. Then close all apps which open by themselves.

 

Sorry for delay.. was not well


V
vasanthi rudramuni Replied on 30/12/2020

Hi Ashish,

 

I restarted PC by closing all apps that open by themselves, still I am facing the above isssue, can someone help.

 

 


A
Ashish Thakur Replied on 17/01/2021

It only runs on 8080

Generally some app like skype or something blocks 8080