Form Action Submit Not Working

<html>
<body>

<form action="welcome.php" method="post">
<input type="submit">
</form>
</body>
</html>

 

 

Here is the code. The same code is working on one of my site but not on another. On clicking the submit button it freezes the website for 1 - 2 minutes and shows error : connection reset.