Don't connect the neutral to the transformer. If you do it will try to act as an autotransformer to balance any voltage imbalances, and at 50VA it will fail.
Connect one hot to the "0" of one winding, the "115V" of that winding to the "0" of the other winding, and the "115V" of the second winding to the second hot. This makes the windings add up to 230V.
You have to get the winding order correct, since if you get one of the windings backwards the transformer will fail in a puff of smoke.
Is there a wiring diagram on it? Most likely the center two terminals should be connected to each other and the two hots to the two outer terminals.
If both primary windings had exactly the same number of turns there should be no problem. Because of some magnetic circuit asymmetry, there may be a slight circulating current. This presumes correct wiring.
This is a 50 VA transformer, which I doubt if would be connected to 230 V if US style mains supply. More likely to be European style 230 V single phase supply, with 230 V between phase (line, hot) and neutral, in which case the neutral does need to be connected to one end of the two primary windings, which need to be connected in series with each other.
The OP really needs to specific as to exactly what type of supply, or what country, is involved. It's not safe to assume anything if this is not specified.
PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.