convert -verbose port.jpg -virtual-pixel black +distort SRT 104 +repage port_rot105.jpg
First, your command above used 104 degrees not 105. But running it with 105, I get the following which still produces a black image.
convert -verbose port.jpg -virtual-pixel black +distort SRT
105 +repage port_rot105.jpg
port.jpg JPEG 400x250 400x250+0+0 8-bit DirectClass 11.9KB 0.010u 0:00.089
Affine Projection:
-distort AffineProjection \
'-0.258819,0.965926,-0.965926,-0.258819,372.504537,-35.832785'
Affine Distort, FX Equivelent:
-size 348x454 -page +26-102 xc: +insert \
-fx 'ii=i+page.x+0.5; jj=j+page.y+0.5;
xx=-0.258819*ii +0.965926*jj +131.023081;
yy=-0.965926*ii -0.258819*jj +350.537546;
v.p{ xx-v.page.x-.5, yy-v.page.x-.5 }' \
port.jpg=>port_rot105.jpg JPEG 400x250=>348x454 8-bit
Bilevel DirectClass 0.130u 0:00.210
On the other hand, using 104 runs perfectly fine!.
convert -verbose port.jpg -virtual-pixel black +distort SRT
104 +repage port_rot104.jpg
port.jpg JPEG 400x250 400x250+0+0 8-bit DirectClass 11.9KB 0.010u 0:00.019
Affine Projection:
-distort AffineProjection \
'-0.241922,0.970296,-0.970296,-0.241922,369.671345,-38.818908'
Affine Distort, FX Equivelent:
-size 342x450 -page +29-100 xc: +insert \
-fx 'ii=i+page.x+0.5; jj=j+page.y+0.5;
xx=-0.241922*ii +0.970296*jj +127.097413;
yy=-0.970296*ii -0.241922*jj +349.299382;
v.p{ xx-v.page.x-.5, yy-v.page.x-.5 }' \
port.jpg=>port_rot104.jpg JPEG 400x250=>342x450 8-bit
DirectClass 16.4KB 0.530u 0:00.699
NOTE the bilevel and DirectClass for the type in the 105 case, but only DirectClass for the 104 case!