The entire war should have been avoided. Russia's possession of Port Arthur was a perfect late 1890's bargaining chip to disrupt Britain's growing relationship with Japan (before the Anglo-Japan alliance of 1902) and to both increase Russian trade and rattle Britain's fears for India.
Best path to Russo-Japan alliance is Russia to gift Port Arthur to Japan as part of a trade agreement, with basing privileges for the Russian Navy and Japan investing in the Trans Siberian and Manchurian railway. Japan has been
building railways since the 1870s, and will have engineering expertise that the Russians may value.
Port Arthur is ice free year round. Vladivostok is not, and requires ice breakers. That's the whole reason Russia wanted Port Arthur, to serve as an ice free base year round. But if Japan and Russia are on friendly terms, Russia hardly needs a navy at all in the Pacific, and can redeploy her Pacific Fleet battleships to its European bases.
So in addition to the diplomatic benefits of gifting Port Arthur to the Japanese, Russia also gains by forgoing the unsuitability of operating its navy from the port plus the cost of the railway. All good for Russia I'd say, and Japan has a new friend. Just do this before the Anglo-Japan alliance of 1902. If Britain could see a way to deal with Japan in 1902, Russia can do it in the 1890s. Russia, like Britain and its concern over Germany, just needs suitable motivation to push for the Japan deal.
For starters, we need a POD that creates a closer understanding between Russia and Japan.
Roman Rosen - Wikipedia apparently tried to avoid the war and negotiated treaties with Japan in the 1890s. There were others with the potential to see through the racism to see potential with Japan...
There is the barrier of Nicolas II failed trip to Japan to overcome. But the emperor himself visited Nicolas, that's pretty strong.
https://en.m.wikipedia.org/wiki/Ōtsu_incident Maybe this guy can convince Nico to make a deal with Japan,
Esper Ukhtomsky - Wikipedia