No ported speaker is good next to a wall, but front ports would be better in that situation. The bummer about front ports is the port noise can screw with you.
I have no choice really but to have my monitors near the wall (about 1') at least if I want to have any room to move in here.
My mains are sealed boxes, they actually work well next to the wall. My nears however have rear-firing ports, so I simply plugged 'em with some dense foam. They don't go down quite as far now, but the bass that is there is much tighter.