NetBeans 8.2 profiler uses the web-server that comes with the IDE: Tomcat 8.0.27.0. I added the Tomcat of another version that interests me to IDE, but i did not find a way to switch to it. If i remove the old server from the IDE, the profiler still tries to work by default. How can I switch the profiler to another web-server?
You don't associate the server to be used with the Profiler; you associate the server to be used with the web application you want to profile. To do that:
Step 1 of 3: Create the server:
Step 2 of 3: Associate your web project with that server:
Step 3 of 3: Profile your web application:
This is a good nine minute introductory video on using the Profiler on NetBeans 8.1+ which may be helpful.